diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-08-23 08:26:09 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-23 08:26:09 -0400 |
| commit | 327482c3a41a30d5ea63eedd3bfb13553c8c2d00 (patch) | |
| tree | ef668f8342632858ee20e6d9a05d9c93d8e5b704 /std/math/complex | |
| parent | 68dcdf1c867a918aa0bb7b5c4cb42df185e1c8f9 (diff) | |
| parent | 353419f82d3575dc45631750a8cf08aa4826ec4c (diff) | |
| download | zig-327482c3a41a30d5ea63eedd3bfb13553c8c2d00.tar.gz zig-327482c3a41a30d5ea63eedd3bfb13553c8c2d00.zip | |
Merge pull request #1402 from ziglang/default-fp-ieee-strict
Default to strict IEEE floating point
Diffstat (limited to 'std/math/complex')
| -rw-r--r-- | std/math/complex/exp.zig | 2 |
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 |
