API Math
Nombres
Number.NaN = ;
Number.NEGATIVE_INFINITY = ;
Number.POSITIVE_INFINITY = ;
Number.EPSILON = ;
Number.MIN_SAFE_INTEGER = ;
Number.MAX_SAFE_INTEGER = ;
Number.MAX_VALUE = ;
Number.MIN_VALUE = ;
Constantes
Math.PI = ;
Math.E = ;
Math.LN10 = ;
Math.LN2 = ;
Math.LOG10E = ;
Math.LOG2E = ;
Math.SQRT2 = ;
Math.SQRT1_2 = ;
Mini - Maxi
Math.min(5, 11 , 3, 4) = ;
Math.max(5, 11 , 3, 4) = ;
Trigonométrie
Math.cos(1.047) = ;
Math.acos(0.5) = ;
Math.sin(1.047) = ;
Math.asin(0.5) = ;
Math.tan(1.047) = ;
Math.atan(0.5) = ;
Math.atan2(1, 2) = ;
Hyperbolique
Math.cosh(1) = ;
Math.acosh(1.5) = ;
Math.sinh(1) = ;
Math.asinh(0.5) = ;
Math.tanh(1) = ;
Math.atanh(0.5) = ;
Arrondi
Math.ceil(2.51) = ;
Math.floor(2.51) = ;
Math.round(2.51)= ;
Math.trunc(2.51)= ;
Math.ceil(-2.51) = ;
Math.floor(-2.51) = ;
Math.round(-2.51)= ;
Math.trunc(-2.51)= ;
Math.fround(2.51)= ;
Signes
Math.abs(-5.3) = ;
Math.sign(-5.3) = ;
Puissances / Racines
Math.pow(2, 5) = ;
Math.sqrt(144) = ;
Math.cbrt(27) = ;
Logarithme / Exponentielle
Math.log(7.39) = ;
Math.log10(100) = ;
Math.log2(16) = ;
Math.log1p(6.39) = ;
Math.exp(2) = ;
Math.expm1(2) = ;
Autres
Math.random() = ;
Math.clz32(58) = ;
Math.hypot(3, 4) = ;
Math.imul(3, 4) = ;