Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide To Clipper - <b>exp()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
EXP()


Syntax:     EXP(<expN>)

Purpose:    To calculate e**x where e is the base of natural logarithms
            and x is the numeric argument.

Argument:   <expN> is the natural logarithm for which a numeric
            value is to be calculated.

Returns:    A numeric value.

            EXP() returns a value calculated to double precision.  The
            number of decimal places is determined by SET DECIMALS
            regardless of SET FIXED.

Usage:      EXP() is useful in equations requiring the use of the
            natural log function e**x.

            EXP() is the inverse of LOG().

Library:    CLIPPER.LIB


----------------------------------- Examples -------------------------------

   ? EXP(1)                      && Result: 2.72
   SET DECIMALS TO 10
   ? EXP(1)                      && Result: 2.7182818285
   ? LOG(EXP(1))                 && Result: 1.0000000000


See Also: SET DECIMALS SET FIXED LOG()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson