std.math.atan: fix mistyped magic constant

Co-authored-by: WiserOrb <diego99.masotti@gmail.com>
This commit is contained in:
InKryption 2023-05-11 02:31:20 +02:00 committed by Andrew Kelley
parent 214f2fc395
commit 3c2841c202

View File

@ -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) {