|
__device__ int ilogb |
( |
double |
x |
) |
|
Calculates the unbiased integer exponent of the input argument x .
- Returns:
- If successful, returns the unbiased exponent of the argument.
- ilogb(0) returns
INT_MIN . - ilogb(NaN) returns NaN.
- ilogb(
x ) returns INT_MAX if x is or the correct value is greater than INT_MAX . - ilogb(
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-2.
|