summaryrefslogtreecommitdiff
path: root/lib/math
diff options
context:
space:
mode:
authorS. Gilles <sgilles@math.umd.edu>2018-06-28 12:28:33 -0400
committerS. Gilles <sgilles@math.umd.edu>2018-06-28 12:28:33 -0400
commit0a90d87daea7bf0a97dfc7d65cc1ef0ae9806c30 (patch)
treea6f503da12878cefc89c208d273f1e92d7f2bd1d /lib/math
parent0843b337e2c2f96bde753090304e1a918b03d73f (diff)
parentcef2d4ebd48ab554330e49f8961547e05df47127 (diff)
downloadmc-0a90d87daea7bf0a97dfc7d65cc1ef0ae9806c30.tar.gz
Merge remote-tracking branch 'ori/master' into sin-cos-work
Diffstat (limited to 'lib/math')
-rw-r--r--lib/math/bld.sub7
-rw-r--r--lib/math/exp-impl.myr6
2 files changed, 12 insertions, 1 deletions
diff --git a/lib/math/bld.sub b/lib/math/bld.sub
index fc67ed6..9937ce4 100644
--- a/lib/math/bld.sub
+++ b/lib/math/bld.sub
@@ -46,3 +46,10 @@ lib math =
lib ../std:std
;;
+
+testdeps =
+ math
+ ../testr:testr
+ ../sys:sys
+ ../std:std
+;;
diff --git a/lib/math/exp-impl.myr b/lib/math/exp-impl.myr
index 65cc868..877abeb 100644
--- a/lib/math/exp-impl.myr
+++ b/lib/math/exp-impl.myr
@@ -282,7 +282,11 @@ const expm164 = {x : flt64
-> expm1gen(x, desc64)
}
-generic expm1gen = {x : @f, d : fltdesc(@f, @u, @i) :: numeric,floating,std.equatable @f, numeric,integral @u, numeric,integral @i, roundable @f -> @i
+generic expm1gen = {x : @f, d : fltdesc(@f, @u, @i) :: \
+ numeric,floating,std.equatable @f,
+ numeric,integral @u,
+ numeric,integral @i,
+ roundable @f -> @i
var b = d.tobits(x)
var n, e, s
(n, e, s) = d.explode(x)