Fundamentals of CS I (CS151 2001S) : Reference

sqrt: compute square roots

Proceduresqrt
Parametersi, a number
PurposeComputes the square root of val.
ProducesA number.
PreconditionsThe parameters must be a number (verified).
PostconditionsProduces a value, s, such that s*s is equal to val.

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:48:19 2001.
This page may be found at http://www.cs.grinnell.edu/~rebelsky/Courses/CS151/2001S/sqrt.html.
You may validate this page's HTML.
The source was last modified Fri Jan 26 00:02:14 2001.