|Parameters||n, a number|
|Purpose||Computes the absolute value of n.|
|Produces||A number. If n is not negative, produces n. If n is negative, produces the opposite of n.|
|Preconditions||Only one parameter (verified).|
n is a number (verified).
|Postconditions||The result is the same kind of number (integer, exact, inexact, etc.) as the parameter. The result is not negative.|
> (abs 0) > (abs -1.5) 1.5
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:31 2001.
This page may be found at
You may validate this page's HTML.
The source was last modified Fri Jan 26 00:00:33 2001.