|
NAMEilogb , ilogbf ,
ilogbl , logb ,
logbf , logbl —
extract exponent
LIBRARYMath Library (libm, -lm)SYNOPSIS#include <math.h>
int
int
int
double
float
long double
DESCRIPTIONilogb (), ilogbf () and
ilogbl () return x's exponent in
integer format.
ilogb (±infinity) returns
INT_MAX ,
ilogb (±NaN) returns
FP_ILOGBNAN , and
ilogb (0) returns
FP_ILOGB0 .
SEE ALSOfrexp(3), ieee(3), math(3), scalbn(3)STANDARDSTheilogb (), ilogbf (),
ilogbl (), logb (),
logbf (), and logbl () routines
conform to ISO/IEC 9899:1999
(“ISO C99”). The latter three implement the logb
function recommended by IEEE Std 754-1985.
HISTORY
Visit the GSP FreeBSD Man Page Interface. |