FANDOM


Syntax

EXPN number

Explanation

EXPN calculates the natural base e (2.7183. . .) raised to the power specified by its input.

Examples

? EXPN 3

Result: 20.09

? EXPN 0

Result: 1

? EXPN 10

Result: 22026.46

? EXPN -1

Result: 0.37

?

The following procedure outputs the number B raised to the power of E.

TO POWER :B :E

OP EXPN (:E * LOG :B)

END

? POWER 2 8

Result: 256

?

Community content is available under CC-BY-SA unless otherwise noted.