osf1 man page for ilogb

Query: ilogb

OS: osf1

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

ilogb(3)						     Library Functions Manual							  ilogb(3)

NAME
ilogb - Returns an unbiased exponent
LIBRARY
Math Library (libm.a)
SYNOPSIS
#include <math.h> int ilogb (double x); int ilogbf (float x); int ilogbl (long double x);
STANDARDS
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
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 --------------------------------------------------------------------- delim off ilogb(3)
Related Man Pages
ilogb(3) - freebsd
ilogb(3) - netbsd
ilogbl(3) - netbsd
ilogbf(3m) - sunos
ilogbl(3) - freebsd
Similar Topics in the Unix Linux Community
Perl:: mass replacement of converting C code formats to tgmath.h