fn hypot(comptime T: type, x: T, y: T) T
[src]
Returns sqrt(x * x + y * y), avoiding unnecessary overflow and underflow.
Special Cases:
- hypot(+-inf, y) = +inf
- hypot(x, +-inf) = +inf
- hypot(nan, y) = nan
- hypot(x, nan) = nan
fn hypot(comptime T: type, x: T, y: T) T
Returns sqrt(x * x + y * y), avoiding unnecessary overflow and underflow.
Special Cases: