Returns the base-2 logarithm of the specified value.
ret log2(x)
Parameters
Item
Description
x
[in] The specified value.
Return Value
The base-2 logarithm of the x parameter. If the x parameter is negative, this function returns indefinite. If the x parameter is 0, this function returns +INF.