Calculates the unbiased integer exponent of the input argument x
.
- Returns:
- If successful, returns the unbiased exponent of the argument.
- ilogbf(0) returns
INT_MIN
. - ilogbf(NaN) returns NaN.
- ilogbf(
x
) returns INT_MAX
if x
is
or the correct value is greater than INT_MAX
. - ilogbf(
x
) return INT_MIN
if the correct value is less than INT_MIN
.
- Note:
- For accuracy information for this function see the CUDA C Programming Guide, Appendix C, Table C-1.