Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

expm1d64(3m) [hpux man page]

expm1d64(3M)															      expm1d64(3M)

NAME
expm1d64(), expm1d128(), expm1d32() - decimal exponential minus 1 functions SYNOPSIS
DESCRIPTION
The function is equivalent to but may be more accurate for very small values of x. The and functions are useful to guarantee that financial calculations of (((1+x)**n)-1)/x are accurate when x is very small, namely: The preceding example might be applicable when calculating small daily interest rates. is a version of it takes a argument and returns a result. is a version of it takes a argument and returns a 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 option. Make sure your program defines and then includes Link in the math library by specifying or on the linking command line. For more information, see the at the following site: RETURN VALUE
returns +-0. If x is +infinity, returns +infinity. If x is -infinity, returns -1. If x is NaN, returns a quiet NaN. 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. raises the underflow exception whenever a result is tiny (essentially subnormal or zero) and inexact. raises the inexact exception whenever a rounded result does not equal the mathematical result. ERRORS
If the correct value would overflow, sets to SEE ALSO
annuity(3M), cbrtd64(3M), compound(3M), exp10d64(3M), exp2d64(3M), expd64(3M), log1pd64(3M), powd64(3M), sqrtd64(3M), math(5). STANDARDS CONFORMANCE
These functions conform to ISO/IEC TR 24732, "Extension for the programming language C to support decimal floating-point arithmetic". HP Integrity Server Only expm1d64(3M)

Check Out this Related Man Page

powd64(3M)																powd64(3M)

NAME
powd64(), powd128(), powd32() - decimal power functions SYNOPSIS
DESCRIPTION
The function returns is a version of it takes arguments and returns a result. is a version of it takes arguments and returns a 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 option. Make sure your program defines and then includes Link in the math library by specifying or on the linking command line. For more information, see the at the following site: RETURN VALUE
and raises the divide-by-zero floating-point exception for y an odd integer < 0. returns +infinity and raises the divide-by-zero floating-point exception for y<0 and not an odd integer. for y an odd integer > 0. returns +0 for y>0 and not an odd integer. returns 1. returns 1 for any x, even NaN. returns 1 for any x, even NaN. returns NaN and raises the invalid floating-point exception for finite x<0 and finite non-integer y. returns +infinity for |x|<1. returns +0 for |x|>1. returns +0 for |x|<1. returns +infinity for |x|>1. returns -0 for y an odd integer < 0. returns +0 for y<0 and not an odd integer. returns -infinity for y an odd integer > 0. returns +infinity for y>0 and not an odd integer. returns +0 for y<0. returns +inf for y>0. Otherwise, if either argument is NaN, then returns NaN. returns the properly signed infinity (or, in some non-default rounding direction modes, the properly signed maximum-magnitude finite num- ber) in lieu of a value whose magnitude is too large, and raises the overflow and inexact exceptions. raises the underflow exception whenever a result is tiny (essentially subnormal or zero) and inexact. raises the inexact exception whenever a rounded result does not equal the mathematical result. ERRORS
For finite x<0 and finite non-integer y, sets to sets to if y is an odd integer < 0. sets to if y<0 and not an odd integer. If the correct value would overflow, sets to SEE ALSO
cbrtd64(3M), expd64(3M), logd64(3M), scalblnd64(3M), scalbnd64(3M), sqrtd64(3M), math(5). STANDARDS CONFORMANCE
These functions conform to ISO/IEC TR 24732, "Extension for the programming language C to support decimal floating-point arithmetic". HP Integrity Server Only powd64(3M)
Man Page