[<<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
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson