This is a computer translation of the original content. It is provided for general information only and should not be relied upon as complete or accurate.
log2 function returns the base-2 log of x , log2( x ).
EDOM, for x < 0
ERANGE, for x = 0
float log2f(float x);