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

     EXP(<nExponent>) --> nAntilogarithm

 Arguments

     <nExponent> is the natural logarithm for which a numeric value is to
     be calculated.

 Returns

     EXP() returns a numeric value that is equivalent to the value e raised
     to the specified power.

 Description

     EXP() is a mathematical function that calculates the value, y, (the
     antilogarithm) of the following equation,

     e**x = y

     where e is the base of natural logarithms (2.71828...) and x is
     <nExponent>.  The maximum value of <nExponent> is 45 before a numeric
     overflow occurs.  EXP() and LOG() are inverse functions.

     The number of decimal places displayed is determined solely by SET
     DECIMALS regardless of the current SET FIXED value.

 Examples

     .  This example demonstrates several invocations of EXP():

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

 Files   Library is CLIPPER.LIB.


See Also: LOG() SET DECIMALS SET FIXED

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