*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> ilogb (3)              
Title
Content
Arch
Section
 

ilogb(3)

Contents


NAME    [Toc]    [Back]

       ilogb - Returns an unbiased exponent

SYNOPSIS    [Toc]    [Back]

       #include <math.h>

       int ilogb(
               double x ); int ilogbf(
               float x ); int ilogbl(
               long double x );

LIBRARY    [Toc]    [Back]

       Math Library (libm)

STANDARDS    [Toc]    [Back]

       Interfaces  documented  on  this reference page conform to
       industry standards as follows:

       ilogb():  XPG4-UNIX

       Refer to the standards(5) reference page for more information
 about industry standards and associated tags.

DESCRIPTION    [Toc]    [Back]

       The  ilogb(),  ilogbf(), and ilogbl() functions return the
       integral part of the base r logarithm of (|x|) as a signed
       integral value for non-zero x, where r is the radix of the
       machine's floating point arithmetic.

       The  following  table  describes  function   behavior   in
       response to exceptional arguments:

       -----------------------------------------------------------------------
       Function                       Exceptional Argument   Routine Behavior
       -----------------------------------------------------------------------
       ilogb(), ilogbf(), ilogbl()    |x| = infinity         INT_MAX
       ilogb(), ilogbf(), ilogbl()    x = 0, NaN             INT_MIN
       -----------------------------------------------------------------------




                                                         ilogb(3)
[ Back ]
 Similar pages
Name OS Title
ieee_exponent IRIX Returns the unbiased exponent of x
maxexponent IRIX Returns the maximum exponent in the numeric model
exponent IRIX Returns the exponent part of the argument when represented as a numeric model number
minexponent IRIX Returns the minimum (most negative) exponent of a real number in the numeric model
range IRIX Returns the decimal exponent range of a number according to the real or integer model
set_exponent IRIX Sets exponent part of a number
selected IRIX 0- return a kind type parameter given a decimal exponent range or precision.
clGetName IRIX returns a name for a parameter
ieee_copy_sign IRIX Returns x with the sign of y
ieee_binary_scale IRIX Returns y multiplied by 2**n
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service