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

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

Misc.

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

- Instantiated for Floating point sums
- Instantiated for Long float sums

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.

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.