Examples using... math.Log2()

Recent
Log2 returns the binary logarithm of x. The special cases are the same as for Log.
This example shows how to use big.Float to compute the square root of 2 with a precision of 200 bits, and how to print the result as a decimal number.