Remote Processing CAMBASIC User Manual

Page 80

Advertising
background image

Comm ands - 47

EXP

Numeric Fun ction

SYNTAX:

n = EXP(m)

PURPOSE:

To return the exponential function of “e. ”

REMARK S:

This function returns the result of the number “e” (2.718282) raised to the power given by m.

EXAMPLE:

10 PRINT EXP(1),EXP(2)
RUN
2.71828

7.38906

ERROR:

< Overflow> – if m> 88.0296

Advertising