method

log2

ruby latest stable - Class: CMath
log2(z)
private

Returns the base 2 logarithm of z

CMath.log2(-1) => (0.0+4.532360141827194i)