compoundl man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

compound(3M)							  compound(3M)

NAME
       compound(),  compoundf(),  compoundl(), compoundw(), compoundq() - com‐
       pound interest factor

SYNOPSIS
DESCRIPTION
       The function computes the compound interest factor:

	      (1 + rate) ** periods

       is a version of it takes arguments and returns a result.

       is a version of it takes arguments and returns a result.

       is an version of it takes arguments 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	or  compile  also  with	 the  option.	Make sure your program
       includes

       Link in the math library by specifying on the compiler or  linker  com‐
       mand line.

RETURN VALUE
       If periods equals zero, returns 1.0.

       Else, if either argument is a NaN, returns a NaN.

       Else,  if  rate	is  less than -1, returns a NaN and raises the invalid
       exception.

       Else, if rate equals -1, is equivalent to

       Else, if rate equals +INFINITY, is equivalent to

       Else, if periods is infinite and rate equals zero, returns 1.0.

       Else, if periods is infinite and rate does not equal zero,  is  equiva‐
       lent to

       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 ALSO
       annuity(3M), exp(3M), expm1(3M), pow(3M), math(5).

STANDARDS CONFORMANCE
       These functions are not specified by any standard.

			   HP Integrity Server Only		  compound(3M)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net