aboutsummaryrefslogtreecommitdiff
path: root/std/math/cos.zig
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2018-08-23 08:26:09 -0400
committerGitHub <noreply@github.com>2018-08-23 08:26:09 -0400
commit327482c3a41a30d5ea63eedd3bfb13553c8c2d00 (patch)
treeef668f8342632858ee20e6d9a05d9c93d8e5b704 /std/math/cos.zig
parent68dcdf1c867a918aa0bb7b5c4cb42df185e1c8f9 (diff)
parent353419f82d3575dc45631750a8cf08aa4826ec4c (diff)
downloadzig-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/cos.zig')
-rw-r--r--std/math/cos.zig2
1 files changed, 0 insertions, 2 deletions
diff --git a/std/math/cos.zig b/std/math/cos.zig
index 71d5e4a8f6..b6a2fbffe6 100644
--- a/std/math/cos.zig
+++ b/std/math/cos.zig
@@ -37,8 +37,6 @@ const C5 = 4.16666666666665929218E-2;
//
// This may have slight differences on some edge cases and may need to replaced if so.
fn cos32(x_: f32) f32 {
- @setFloatMode(this, @import("builtin").FloatMode.Strict);
-
const pi4a = 7.85398125648498535156e-1;
const pi4b = 3.77489470793079817668E-8;
const pi4c = 2.69515142907905952645E-15;