mirror of
https://github.com/ziglang/zig.git
synced 2026-02-14 13:30:45 +00:00
std.math.atan: fix mistyped magic constant
Co-authored-by: WiserOrb <diego99.masotti@gmail.com>
This commit is contained in:
parent
214f2fc395
commit
3c2841c202
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user