diff --git a/lib/std/math/pow.zig b/lib/std/math/pow.zig index e2a4757dbeee03a4d2a4de0af138000f79f1da53..acaafe76093a0ec4563c81bb5f7703264096c17a 100644 --- a/lib/std/math/pow.zig +++ b/lib/std/math/pow.zig @@ -59,7 +59,7 @@ pub fn pow(comptime T: type, x: T, y: T) T { if (x == 0) { if (y < 0) { - // pow(+-0, y) = +- 0 for y an odd integer + // pow(+-0, y) = +-inf for y an odd integer if (isOddInteger(y)) { return math.copysign(math.inf(T), x); }