Query: ilogbf
OS: osx
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ILOGB(3) BSD Library Functions Manual ILOGB(3)NAMEilogb -- return exponent as an integer valueSYNOPSIS#include <math.h> int ilogb(double x); int ilogbl(long double x); int ilogbf(float x);DESCRIPTIONThe ilogb() functions return the exponent of x as a signed integer value.SPECIAL VALUESilogb(+-0) returns FP_ILOGB0. ilogb(+-infinity) returns INT_MAX. ilogb(x) returns FP_ILOGBNAN if x is a NaN. A range error may occur if x is 0, +-infinity, or a nan. The special return values FP_ILOGB0 and FP_ILOGBNAN are defined in math.h, and may differ between platforms. INT_MAX is defined in limits.h.SEE ALSOmath(3)STANDARDSThe ilogb() functions conform to ISO/IEC 9899:2011.BSDDecember 11, 2006 BSD