Ada code for Mathematics:

[*** UNDERGOING MAJOR OVERHAUL ***] Please check again later.


Misc.

[*** THIS SECTION ALREADY OVERHAULED ***]

Misc.

Generic Pythagorean Sums [Sqrt(X*X+Y*Y)] (Body)

This package computes Sqrt (X*X + Y*Y) by the Moler-Morrison algorithm, without overflow (Unless the answer overflows). This routine doesn't use square root, and never squares the two numbers.


Go to ...


This page is http://www.cc.utah.edu/~nahaj/ada/math/
© Copyright 2000 by John Halleck, All Rights Reserved.
This snapshot was last modified on March 14th, 2001.