summaryrefslogtreecommitdiff
path: root/lib/math
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2018-05-12 11:53:57 -0700
committerOri Bernstein <ori@eigenstate.org>2018-05-13 20:07:21 -0700
commit7464174215c60b462e390a1ec63b04b26cf15666 (patch)
treeef2e08fd167368630673248beaeddb8326d5cea5 /lib/math
parent05e04ed1df3c315aa69b2b5c16f16e83922d5aed (diff)
downloadmc-7464174215c60b462e390a1ec63b04b26cf15666.tar.gz
Add tests for AES GCM decryption, fix a small bug.
Diffstat (limited to 'lib/math')
-rw-r--r--lib/math/exp-impl.myr6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/math/exp-impl.myr b/lib/math/exp-impl.myr
index 862ff68..26b8639 100644
--- a/lib/math/exp-impl.myr
+++ b/lib/math/exp-impl.myr
@@ -288,7 +288,11 @@ const expm164 = {f : flt64
-> expm1gen(f, desc64)
}
-generic expm1gen = {f : @f, d : fltdesc(@f, @u, @i) :: numeric,floating,std.equatable @f, numeric,integral @u, numeric,integral @i, roundable @f -> @i
+generic expm1gen = {f : @f, d : fltdesc(@f, @u, @i) :: \
+ numeric,floating,std.equatable @f,
+ numeric,integral @u,
+ numeric,integral @i,
+ roundable @f -> @i
var b = d.tobits(f)
var n, e, s
(n, e, s) = d.explode(f)