diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-08-25 04:48:58 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-08-25 04:48:58 -0400 |
| commit | 815950996dcc92ac6ac285f2005dbac51b9cb6f8 (patch) | |
| tree | 1f77690a5fb7ccbef75bcab9c8c1e008ef3c5068 /std/math/ceil.zig | |
| parent | 8aacfc846523aad142537b2bff49162d5feb6a91 (diff) | |
| parent | bf1f91595d4d3b5911632c671ef16e44d70dc9a6 (diff) | |
| download | zig-815950996dcc92ac6ac285f2005dbac51b9cb6f8.tar.gz zig-815950996dcc92ac6ac285f2005dbac51b9cb6f8.zip | |
Merge remote-tracking branch 'origin/master' into macos-stack-traces
Diffstat (limited to 'std/math/ceil.zig')
| -rw-r--r-- | std/math/ceil.zig | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/std/math/ceil.zig b/std/math/ceil.zig index 1c429504e8..8a5221d862 100644 --- a/std/math/ceil.zig +++ b/std/math/ceil.zig @@ -61,10 +61,8 @@ fn ceil64(x: f64) f64 { } if (u >> 63 != 0) { - @setFloatMode(this, builtin.FloatMode.Strict); y = x - math.f64_toint + math.f64_toint - x; } else { - @setFloatMode(this, builtin.FloatMode.Strict); y = x + math.f64_toint - math.f64_toint - x; } |
