Returns the base 2 logarithm of a numeric value.
log2(value)
value
A value of any number type.
A floating-point or a complex number.
log2(2**128)
127.99999999999999999999999999999999
log2(-1)
4.532360141827193809627682945716666*I