exp10d64.3m (2010 09)

e
exp10d64(3M) exp10d64(3M)
(HP Integrity Server Only)
NAME
exp10d64(), exp10d128(), exp10d32() - base-10 decimal exponential functions
SYNOPSIS
#define __STDC_WANT_DEC_FP__
#include <math.h>
_Decimal64 exp10d64(_Decimal64 x);
_Decimal128 exp10d128(_Decimal128 x);
_Decimal32 exp10d32(_Decimal32 x);
DESCRIPTION
exp10d64() returns 10
x
.
exp10d128() is a _Decimal128 version of exp10d64(); it takes a
_Decimal128 argument and
returns a
_Decimal128 result.
exp10d32() is a _Decimal32 version of exp10d64(); it takes a
_Decimal32 argument and
returns a
_Decimal32 result.
These math functions are supported for HP-UX 11i Version 3 September 2008 Update and forward.
USAGE
To use any of these functions, compile with the
+decfp option.
Make sure your program defines
__STDC_WANT_DEC_FP__
and then includes <math.h>.
Link in the math library by specifying
-lm or -l:libm.a on the linking command line.
For more information, see the HP-UX floating-point guide for HP Integrity servers at the following site:
http://www.hp.com/go/fp
.
RETURN VALUE
exp10d64(±0) returns 1.
If x is +infinity,
exp10d64() returns +infinity.
If x is infinity,
exp10d64() returns +0.
If x is NaN,
exp10d64() returns NaN.
exp10d64() returns +infinity (or, in some non-default rounding direction modes, the maximum finite
number) in lieu of a value whose magnitude is too large, and raises the overflow and inexact exceptions.
exp10d64() raises the underflow exception whenever a result is tiny (essentially subnormal or zero)
and inexact.
exp10d64() raises the inexact exception whenever a rounded result does not equal the mathematical
result.
ERRORS
If the correct value would overflow,
exp10d64() sets errno to [ERANGE].
SEE ALSO
cbrtd64(3M), expd64(3M), exp2d64(3M), expm1d64(3M), log10d64(3M), powd64(3M), sqrtd64(3M),
math(5).
STANDARDS CONFORMANCE
These functions are not specified by any standard.
HP-UX 11i Version 3: September 2010 1 Hewlett-Packard Company 1

Summary of content (2 pages)