hypot
hypot(x, y)
Input: x, y · Output: no output
What it is
sqrt(x² + y²) without overflow/underflow in the intermediate squares: hypot(3, 4) is 5, hypot(1e200, 1e200) is 1.414…e200 where sqrt(x^2 + y^2) gives inf. Same broadcasting as atan2.
Overloads
One call shape — this function is not overloaded.
| Code | Input | Output | Description |
hypot(x, y) | x —not documented yety —not documented yet | not documented yet | Same broadcasting as atan2. |
Examples
No documentation example calls this form yet. The Core maths chapter is where one belongs.