C5_EXP

 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

 

One response to “C5_EXP

  1. Pingback: C5_SET FIXED | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.