exp2(3M) exp2(3M)
NAME
exp2(), exp2f(), exp2l(), exp2w(), exp2q() - base-2 exponential functions
SYNOPSIS
HP Integrity Server Only
DESCRIPTION
returns
Integrity System Only
is a version of it takes a argument and returns a result.
is a version of it takes a argument and returns a result.
is an version of it takes an 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.
To use these functions, make sure your program includes and 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
returns 1.
If x is +INFINITY, returns +INFINITY.
If x is -INFINITY, returns zero.
If x is NaN, returns NaN.
returns infinity (equal to 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.
raises the inexact exception whenever a rounded result does not equal the mathematical result.
ERRORS
Integrity Server Only
If the correct value would overflow, sets to [ERANGE].
HP-UX functions on Integrity servers do not set by default. For setting, compile with the option.
SEE ALSO
cbrt(3M), exp(3M), exp10(3M), expm1(3M), log2(3M), pow(3M), sqrt(3M), math(5).
STANDARDS CONFORMANCE
: ISO/IEC C99 (including Annex F, ``IEC 60559 floating-point arithmetic'')
exp2(3M)