
15-2
EXP (Function) [Conforms to SLIM]
Function
Obtains an exponential function with a natural logarithm taken as a base.
Format
EXP (<Expression>)
Explanation
If <Expression> includes a double precision real numeral, the obtained value
becomes double precision. Otherwise, a single precision value is obtained.
Explanation: If the value of an argument number exceeds
709.782712893 , an overflow error occurs. The constant
“e” is approximately 2.718282.
Memo: The EXP function is an inverse function of the logarithm
and is often referred to as an inverse logarithm.
Related Terms
LOG, LOG10
Example
DEFSNG lf1, lf2, lf3, lf4
lf1 = EXP(2) 'Assigns the 2nd power of the natural logarithm base to lf1.
lf2 = EXP(lf3/lf4)
'Assigns the (lf3/lf4) power of the natural logarithm base to lf2.
Kommentare zu diesen Handbüchern