[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


hypot

The function hypot computes the square root of the sum of the squares of the arguments.

Compatibility:

This function is compatible with the following targets:

ANSI

BeOS

EMB/RTOS

Mac OS

Palm OS

Win32


Prototype:
#include <math.h>
double hypot ( double x, double y );
Parameters:

Parameters for this function are:

x  
double  
The first value to be squared  
y  
double  
The second value to be squared  

Return:

The square root of the sum of the squares of x and y.

Remarks:

Hypot computes the square root of the sum of the squares of x and y without undue overflow or underflow.

"Inlined Intrinsics Option"


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 16, 2000