scalbn(3M)scalbn(3M)NAMEscalbn(), scalbnf(), scalbnl(), scalbnq(), scalbnw() - scale exponent
of a radix-independent floating-point number
SYNOPSIS
HP Integrity Servers Only
DESCRIPTION
The function returns where r is the radix of the machine's floating-
point arithmetic. When r is 2 (as it is on all PA-RISC and Integrity
servers), computes the same value as
Integrity Servers Only
is a version of it takes a first argument and returns a result.
is a version of it takes a first argument and returns a result.
is an version of it takes an first argument and returns an result.
is equivalent to on HP-UX systems.
USAGE
To use these functions compile either with the default option or with
the and options.
To use (for Integrity servers) or compile also with the option.
Make sure your program includes Link in the math library by specifying
on the compiler or linker command line.
For more information, see the at the following site:
RETURN VALUE
and are equivalent.
If x zero, or a NaN, returns x.
returns a properly signed infinity in lieu of a value whose magnitude
is too large, and raises the overflow and inexact exceptions.
raises the underflow and inexact exceptions whenever a result is tiny
(essentially denormal or zero) and thereby suffers loss of accuracy,
and may raise those exceptions if the result is merely tiny.
ERRORS
No errors are defined.
SEE ALSOilogb(3M), ldexp(3M), logb(3M), scalb(3M), scalbln(3M), math(5).
STANDARDS CONFORMANCE
: ISO/IEC C99 (including Annex F, "IEC 60559 floating-point arithâ
metic")
scalbn(3M)