| ... | @@ -14,7 +14,7 @@ const math = std.math; | ... | @@ -14,7 +14,7 @@ const math = std.math; |
| 14 | const expect = std.testing.expect; | 14 | const expect = std.testing.expect; |
| 15 | const maxInt = std.math.maxInt; | 15 | const maxInt = std.math.maxInt; |
| 16 | | 16 | |
| 17 | /// Returns sqrt(x * x + y * y), avoiding unncessary overflow and underflow. | 17 | /// Returns sqrt(x * x + y * y), avoiding unnecessary overflow and underflow. |
| 18 | /// | 18 | /// |
| 19 | /// Special Cases: | 19 | /// Special Cases: |
| 20 | /// - hypot(+-inf, y) = +inf | 20 | /// - hypot(+-inf, y) = +inf |