From 3c2841c2020e2a0630b0a0b1b97f07c75c770368 Mon Sep 17 00:00:00 2001 From: InKryption Date: Thu, 11 May 2023 02:31:20 +0200 Subject: [PATCH] std.math.atan: fix mistyped magic constant Co-authored-by: WiserOrb --- lib/std/math/atan.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/math/atan.zig b/lib/std/math/atan.zig index 3a13d943e8..41caae11a6 100644 --- a/lib/std/math/atan.zig +++ b/lib/std/math/atan.zig @@ -161,7 +161,7 @@ fn atan64(x_: f64) f64 { var id: ?usize = undefined; // |x| < 0.4375 - if (ix < 0x3DFC0000) { + if (ix < 0x3FDC0000) { // |x| < 2^(-27) if (ix < 0x3E400000) { if (ix < 0x00100000) {