aboutsummaryrefslogtreecommitdiff
path: root/std/math/ceil.zig
diff options
context:
space:
mode:
Diffstat (limited to 'std/math/ceil.zig')
-rw-r--r--std/math/ceil.zig2
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;
}