
RPBASIC-52 PROGRAMMING GUIDE
2-37
EXP
Syntax: EXP(expr)
Function: Raises "e" (2.71828) to the power of expr
Mode: Command, run
Use: PRINT EXP(C OS(1))
Cards: All
DESCRIPTION
This function returns the result of the num ber Q (2.718282) raised to the power given by expr. This function is
very computation time intensive. Small values of expr take about 5 milli-seconds to calculate while larger
ones (near 250) require nearly 0.2 seconds. Avoid using this function in tight control or time intensive
applications.
ERROR
BAD ARGUMENT When result of expr > 256
Komentarze do niniejszej Instrukcji