EXP (Function)


Obtains an exponential function with a natural logarithm taken as a base.


EXP (<Expression>)


If <Expression> includes a double precision real numeral, the obtained value becomes double precision. Otherwise, a single precision value is obtained.
  • If the value of an argument number exceeds 709.782712893 , an overflow error occurs. The constant "e" is approximately 2.718282.
  • The EXP function is an inverse function of the logarithm and is often referred to as an inverse logarithm.





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.


Top