exp(3M)exp(3M)NAMEexp(), expf(), expl(), expw(), expq() - exponential functions
SYNOPSIS
HP Integrity Server Only
DESCRIPTION
returns
is a version of it takes a argument and returns a result.
Integrity Server Only
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 the options.
To use (for Integrity servers) or compile also with the option.
To use any of 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:
PA-RISC Only
Millicode versions of the functions are available. Millicode versions
of math library functions are usually faster than their counterparts in
the standard library. To use these versions, compile your program with
the or the optimization option.
For special cases, the millicode versions return the same values as
their standard library counterparts (see the section), but do not set
RETURN VALUE
returns 1.
If x is +INFINITY, returns +INFINITY.
If x is −INFINITY, returns +0.
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.
When it raises no other exception, whether raises the inexact exception
is unspecified.
ERRORS
If the correct value would overflow, sets to [ERANGE].
Integrity Server Only
HP-UX functions on Integrity servers do not set by default. For set‐
ting, compile with the option.
SEE ALSOcbrt(3M), cexp(3M), exp10(3M), exp2(3M), expm1(3M), log(3M), pow(3M),
sqrt(3M), math(5).
STANDARDS CONFORMANCE
: SVID3, XPG4.2, ANSI C, ISO/IEC C99 (including Annex F, ``IEC 60559
floating-point arithmetic'')
: ISO/IEC C99 (including Annex F,``IEC 60559 floating-point arith‐
metic'')
exp(3M)