Unix/Linux Go Back    


OpenDarwin 7.2.1 - man page for ilogb (opendarwin section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)


ILOGB(3)			   BSD Library Functions Manual 			 ILOGB(3)

NAME
     ilogb -- return exponent as an integer value

SYNOPSIS
     #include <math.h>

     int
     ilogb(double x);

     int
     ilogbf(float x);

DESCRIPTION
     The ilogb() and ilogbf() functions return the exponent of x as a signed integer value.

SPECIAL VALUES
     ilogb(+-0) returns - INT_MAX.

     ilogb(+-infinity) returns INT_MAX.

     ilogb(x) returns INT_MAX if x is a NaN.

     A range error may occur if x is 0.

SEE ALSO
     math(3)

STANDARDS
     The ilogb() and ilogbf() functions conform to ISO/IEC 9899:1999(E).

BSD					  July 22, 2003 				      BSD
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums


All times are GMT -4. The time now is 05:49 AM.