commit 95e5fac412ff355d9a6dc281e6f39b9c0e940c18 (tree) parent 9979741bff5867818e4186348e7aa4e271389317 Author: Adam C <acc1729+github@gmail.com> Date: Sun, 18 Jul 2021 17:53:06 -0400 FIX typo in doc comment for std.math.hypot (#9413) Diffstat:
| M | lib/std/math/hypot.zig | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/std/math/hypot.zig b/lib/std/math/hypot.zig @@ -14,7 +14,7 @@ const math = std.math; const expect = std.testing.expect; const maxInt = std.math.maxInt; -/// Returns sqrt(x * x + y * y), avoiding unncessary overflow and underflow. +/// Returns sqrt(x * x + y * y), avoiding unnecessary overflow and underflow. /// /// Special Cases: /// - hypot(+-inf, y) = +inf