Fundamentals of CS I (CS151 2001S) : Reference

exp: compute power of e

Procedureexp
Parametersn, a number
PurposeComputes en, where e is the base of the natural logarithm.
ProducesA real number.
PreconditionsOnly one parameter (verified).
n is a number (verified).
Examples
> (exp 1)
2.718281828459045
> (exp 1/2)
1.6487212707001282

Disclaimer: I usually create these pages on the fly. This means that they are rarely proofread and may contain bad grammar and incorrect details. It also means that I may update them regularly (see the history for more details). Feel free to contact me with any suggestions for changes.

This page was generated by Siteweaver on Thu Feb 22 05:47:58 2001.
This page may be found at http://www.cs.grinnell.edu/~rebelsky/Courses/CS151/2001S/exp.html.
You may validate this page's HTML.
The source was last modified Sun Jan 28 12:29:57 2001.