HP 3000 Manuals

EXP [ HP Business BASIC/XL Reference Manual ] MPE/iX 5.0 Documentation


HP Business BASIC/XL Reference Manual

EXP 

The EXP function returns the value of e ** n.  The result is a REAL
number.

Syntax 

EXP(n)

Parameters 

n                The power that e is to be raised to.  Although this can
                 be of any numeric type, it is converted to REAL.

Examples 

     10 A = EXP(0)    !A = 1
     20 B = EXP(1)    !B = 2.71828
     30 C = EXP(1.0)  !C = 2.718281828459



MPE/iX 5.0 Documentation