-
Notifications
You must be signed in to change notification settings - Fork 1
Tristan Hume edited this page Apr 23, 2012
·
2 revisions
#exp
##Syntax exp (r : real) : real
##Description The exp function is used to find e to the power r, where e is the natural base and r is the parameter to exp. For example, exp (0) returns 1 and exp (1) returns the value of e.
##Example This program prints out the exponential values of 1, 2, 3, � up to 100.
for i : 1 .. 100
put "Exponential of ", i, " is ", exp (i)
end for
##See also ln.html (natural logarithm function).
See also predefined unit mathmodule.html.