aboutsummaryrefslogtreecommitdiff
path: root/std/math/complex
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/complex
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/complex')
-rw-r--r--std/math/complex/exp.zig2
1 files changed, 0 insertions, 2 deletions
diff --git a/std/math/complex/exp.zig b/std/math/complex/exp.zig
index 48fb132d97..e696ee42b4 100644
--- a/std/math/complex/exp.zig
+++ b/std/math/complex/exp.zig
@@ -17,8 +17,6 @@ pub fn exp(z: var) @typeOf(z) {
}
fn exp32(z: Complex(f32)) Complex(f32) {
- @setFloatMode(this, @import("builtin").FloatMode.Strict);
-
const exp_overflow = 0x42b17218; // max_exp * ln2 ~= 88.72283955
const cexp_overflow = 0x43400074; // (max_exp - min_denom_exp) * ln2