diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-09-18 15:15:03 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-09-18 15:15:03 -0400 |
| commit | 275b4100c0352cae6760797232489dba21bfb68f (patch) | |
| tree | e73a1011fe621114eb348d5be03e0f2612ff1b81 /std/math/acosh.zig | |
| parent | 4b2719b51d7ec9a38bad57ca02040231b6e8df26 (diff) | |
| download | zig-275b4100c0352cae6760797232489dba21bfb68f.tar.gz zig-275b4100c0352cae6760797232489dba21bfb68f.zip | |
remove unnecessary setFloatMode calls
Now that Strict is the default, these calls only add noise.
Diffstat (limited to 'std/math/acosh.zig')
| -rw-r--r-- | std/math/acosh.zig | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/std/math/acosh.zig b/std/math/acosh.zig index 705b762e3c..9be323e1f6 100644 --- a/std/math/acosh.zig +++ b/std/math/acosh.zig @@ -19,8 +19,6 @@ pub fn acosh(x: var) @typeOf(x) { // acosh(x) = log(x + sqrt(x * x - 1)) fn acosh32(x: f32) f32 { - @setFloatMode(this, builtin.FloatMode.Strict); - const u = @bitCast(u32, x); const i = u & 0x7FFFFFFF; @@ -39,8 +37,6 @@ fn acosh32(x: f32) f32 { } fn acosh64(x: f64) f64 { - @setFloatMode(this, builtin.FloatMode.Strict); - const u = @bitCast(u64, x); const e = (u >> 52) & 0x7FF; |
