std.math.algebraic.hypot  - multiple declarations
				Function hypot
Calculates the length of the hypotenuse of a right-angled triangle with sides of length x and y. The hypotenuse is the value of the square root of the sums of the squares of x and y:
						
				T hypot(T)
				(
				
				  const T x,
				
				  const T y
				
				) pure nothrow @nogc @safe
				
				if (isFloatingPoint!T);
						
					
				sqrt(x2 + y2)
Note that hypot(x, y), hypot(y, x) and hypot(x, -y) are equivalent.
| x | y | hypot(x, y) | invalid? | 
|---|---|---|---|
| x | ±0.0 | |x| | no | 
| ±∞ | y | +∞ | no | 
| ±∞ | NAN | +∞ | no | 
Example
import stdFunction hypot
Calculates the distance of the point (x, y, z) from the origin (0, 0, 0) in three-dimensional space. The distance is the value of the square root of the sums of the squares of x, y, and z:
						
				T hypot(T)
				(
				
				  const T x,
				
				  const T y,
				
				  const T z
				
				) pure nothrow @nogc @safe
				
				if (isFloatingPoint!T);
						
					
				sqrt(x2 + y2 + z2)
Note that the distance between two points (x1, y1, z1) and (x2, y2, z2) in three-dimensional space can be calculated as hypot(x2-x1, y2-y1, z2-z1).
Parameters
| Name | Description | 
|---|---|
| x | floating point value | 
| y | floating point value | 
| z | floating point value | 
Returns
The square root of the sum of the squares of the given arguments.
Example
import stdAuthors
Walter Bright, Don Clugston, Conversion of CEPHES math library to D by Iain Buclaw and David Nadlinger