Math.log2(numeric) â float
Class Public methods
Returns the base 2 logarithm of numeric.
1 2 3 4 | Math.log2( 1 ) #=> 0.0 Math.log2( 2 ) #=> 1.0 Math.log2( 32768 ) #=> 15.0 Math.log2( 65536 ) #=> 16.0 |
Returns the base 2 logarithm of numeric.
1 2 3 4 | Math.log2( 1 ) #=> 0.0 Math.log2( 2 ) #=> 1.0 Math.log2( 32768 ) #=> 15.0 Math.log2( 65536 ) #=> 16.0 |
Designed by : w10schools
service@w10schools.com
Please login to continue.