aboutsummaryrefslogtreecommitdiff
path: root/std/math/exp2.zig
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2018-08-25 04:48:58 -0400
committerAndrew Kelley <superjoe30@gmail.com>2018-08-25 04:48:58 -0400
commit815950996dcc92ac6ac285f2005dbac51b9cb6f8 (patch)
tree1f77690a5fb7ccbef75bcab9c8c1e008ef3c5068 /std/math/exp2.zig
parent8aacfc846523aad142537b2bff49162d5feb6a91 (diff)
parentbf1f91595d4d3b5911632c671ef16e44d70dc9a6 (diff)
downloadzig-815950996dcc92ac6ac285f2005dbac51b9cb6f8.tar.gz
zig-815950996dcc92ac6ac285f2005dbac51b9cb6f8.zip
Merge remote-tracking branch 'origin/master' into macos-stack-traces
Diffstat (limited to 'std/math/exp2.zig')
-rw-r--r--std/math/exp2.zig4
1 files changed, 0 insertions, 4 deletions
diff --git a/std/math/exp2.zig b/std/math/exp2.zig
index d590b0b60b..3d8e5d692e 100644
--- a/std/math/exp2.zig
+++ b/std/math/exp2.zig
@@ -36,8 +36,6 @@ const exp2ft = []const f64{
};
fn exp2_32(x: f32) f32 {
- @setFloatMode(this, @import("builtin").FloatMode.Strict);
-
const tblsiz = @intCast(u32, exp2ft.len);
const redux: f32 = 0x1.8p23 / @intToFloat(f32, tblsiz);
const P1: f32 = 0x1.62e430p-1;
@@ -353,8 +351,6 @@ const exp2dt = []f64{
};
fn exp2_64(x: f64) f64 {
- @setFloatMode(this, @import("builtin").FloatMode.Strict);
-
const tblsiz = @intCast(u32, exp2dt.len / 2);
const redux: f64 = 0x1.8p52 / @intToFloat(f64, tblsiz);
const P1: f64 = 0x1.62e42fefa39efp-1;