[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
##############################################################################
###+-------+##################################################################
#+-| EXP() |--------------------------------------------------------+#########
#| +-------+ Is supported by the '**' expression evaluator operator |#########
#+------------------------------------------------------------------+#########
##############################################################################
##############################################################################
#+--| Summary |--------------+################################################
#| #INCLUDE math.hdr |################################################
#+---------------------------+################################################
##############################################################################
##############################################################################
################+---| Description |---------------------------+###############
################| The exp() function is supported by the '**' |###############
################| expression evaluator operator. |###############
################| ------------------------------------------- |###############
################| The expression "2.718281828459045 ** x" |###############
################| is equivalent to exp(x). |###############
################| ------------------------------------------- |###############
################| The number e, or 2.71828..., |###############
################| is defined in math.hdr. |###############
################+---------------------------------------------+###############
##############################################################################
##############################################################################
#########+--| Example 1 |-------------------------------------------+#########
#########| * Calculate exp(2). The number e is defined in |#########
#########| * math.hdr. |#########
#########| |#########
#########| #include math.hdr |#########
#########| PROCEDURE force_main |#########
#########| |#########
#########| ? &e && prints 2.71828... |#########
#########| ? &e**2 |#########
#########| |#########
#########| ENDPRO |#########
#########+----------------------------------------------------------+#########
##############################################################################
See Also:
ln()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson