authorgravatar for inkryption07@gmail.comInKryption <inkryption07@gmail.com> 2023-05-11 02:31:20+02:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-05-11 15:56:42-07:00
log3c2841c2020e2a0630b0a0b1b97f07c75c770368
treeaf6e851f70ce2b211b0a45f2644e4c91280714f2
parent214f2fc395da2e6e5ffa592b89ea20db47d3fca6

std.math.atan: fix mistyped magic constant

Co-authored-by: WiserOrb <diego99.masotti@gmail.com>

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

lib/std/math/atan.zig+1-1
......@@ -161,7 +161,7 @@ fn atan64(x_: f64) f64 {
161161 var id: ?usize = undefined;
162162
163163 // |x| < 0.4375
164 if (ix < 0x3DFC0000) {
164 if (ix < 0x3FDC0000) {
165165 // |x| < 2^(-27)
166166 if (ix < 0x3E400000) {
167167 if (ix < 0x00100000) {