authorgravatar for acc1729+github@gmail.comAdam C <acc1729+github@gmail.com> 2021-07-18 17:53:06-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-07-21 12:25:52-07:00
logc1e444b07c4b49df8e1fa7fba0b4a25bdc98004b
treebd64f46e3ea5b47d352a68174c6412593478ea1f
parent84154b10a23db1157998bcb3b3d5f9a42c2c0860

FIX typo in doc comment for std.math.hypot (#9413)


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/math/hypot.zig+1-1
...@@ -14,7 +14,7 @@ const math = std.math;...@@ -14,7 +14,7 @@ const math = std.math;
14const expect = std.testing.expect;14const expect = std.testing.expect;
15const maxInt = std.math.maxInt;15const maxInt = std.math.maxInt;
1616
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) = +inf20/// - hypot(+-inf, y) = +inf