summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2018-08-05 13:21:22 -0700
committerOri Bernstein <ori@eigenstate.org>2018-08-05 13:21:22 -0700
commit36bcb6d94f7ef17c9e40cf68fd26d78ec814c596 (patch)
tree5848453917ed7cecc4c246d8b4e193623118ec46
parentb9656ec7e120d1fced20ea5ca826c57f2de4fc84 (diff)
downloadmc-36bcb6d94f7ef17c9e40cf68fd26d78ec814c596.tar.gz
We don't need the impls in sin-impl.
-rw-r--r--lib/math/sin-impl.myr3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/math/sin-impl.myr b/lib/math/sin-impl.myr
index dc47222..ba7099b 100644
--- a/lib/math/sin-impl.myr
+++ b/lib/math/sin-impl.myr
@@ -1,7 +1,6 @@
use std
use "fpmath"
-use "impls"
use "sum-impl" /* we use generics from here */
use "util"
@@ -524,7 +523,7 @@ const w64 = {x : flt64, want_sin : bool, want_cos : bool
we care about is a1*d2 + 2*a2*d1*d2
*/
cos_delta = horner_polyu(delta1, cos_coeff[:])
- cos_delta += delta2 * fma64(delta1, 2.0*std.flt64frombits(cos_coeff[2]), std.flt64frombits(cos_coeff[1]))
+ cos_delta += delta2 * fma(delta1, 2.0*std.flt64frombits(cos_coeff[2]), std.flt64frombits(cos_coeff[1]))
var q : flt64[4]