enorm.h: (Matching .c file)

/* enorm.h - Euclidean Norm. (Distance)
 * © Copyright 1999 by John Halleck
 * All rights reserved.
/* Version of August 16th, 1999 */

#ifndef ENORM
#define ENORM 1

/* Find sqrt (X*X + Y*Y) without using square root, and without squaring the
 * numbers, very accurately and very fast.
 * This routine won't overflow unless the answer does.

extern double enorm2 (double X, double Y);


Go to ...

This page is http://www.cc.utah.edu/~nahaj/cave/survey/code/c/enorm.h.html
© Copyright 2000 by John Halleck, All Rights Reserved.
This snapshot was last modified on August 23rd, 2000
And the underlying file was last modified on May 11th, 2000