Documentation Comments
Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.
Reality V15.0 ()
EXP Function (DataBasic) (m618703+exp_f.htm)
Raises 'e' to a specified value.
EXP(expression)
expression is any valid DataBasic expression or any string, substring, or value; expressed as a variable name, a value, or a string enclosed in quotes.
No indication is made if overflow occurs.
If there is no PRECISION statement in the program, the value is returned rounded to the nearest four decimal places. Otherwise, the number of decimal places returned is as specified by the PRECISION statement.
In each case, the significant decimal places returned are the result of rounding. However, only up to five places are significant: if the PRECISION statement specifies a precision greater than five, trailing zeroes are appended to the five significant places so as to return the numbers of places specified.
A = "32" B = EXP(A) PRINT B
Prints the value of e raised to 32.
Z = LN(X)
Y = EXP(Z)
Assigns the anti-log of Z to variable Y.