JavaScript – Math.clz32() Method
The Math.clz32() method returns the number of leading zeros in a 32-bit binary number.
The Math.clz32() method returns the number of leading zeros in a 32-bit binary number.
The Math.cos() method returns the cosine of a number (entered in radians). The returned number will be between -1 and 1.
The Math.E property returns Euler’s number, which is approximately 2.71828.
The Math.exp() method returns the value of E squared, where E is Euler’s number and x is the parameter passed to it.
The Math.exp() method returns the value of E squared minus 1, where E is Euler’s number and x is the parameter passed to it.
The Math.floor() method returns a number rounded down to the nearest integer.
The Math.fround() method returns the nearest 32-bit single-precision-float representation of a number.
The Math.LN2 property returns the natural logarithm of 2, which is approximately 0.693.
The Math.LN10 property returns the natural logarithm of 10, which is approximately 2.3025.
The Math.log() method returns the natural logarithm (base E) of a number.
The Math.LOG10E property returns the base-10 logarithm of E (Euler’s Number), which is approximately 0.434.
The Math.log1p() method returns the natural logarithm (base E) of 1 + a number.
The Math.LOG2E property returns the base-2 logarithm of E (Euler’s Number), which is approximately 1.442.
The Math.max() method returns the number with the highest value from one or more numbers.
The Math.min() method returns the number with the lowest value from one or more numbers.
The Math.PI property returns PI (the ratio of a circle’s area to the square of its radius, approximately 3.14).
The Math.pow() method returns the value of x to the power of y (e.g., xy).