summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorS. Gilles <sgilles@math.umd.edu>2019-05-01 18:16:07 -0400
committerS. Gilles <sgilles@math.umd.edu>2019-05-01 18:16:07 -0400
commitac2d8aa21e1e6ae45573b268151fda57cada110d (patch)
tree8637ed99423fd4c83f2e3264a1bca6a596e0fbab
parent696f29e1650e45b27a949d513248a52f400531ee (diff)
downloadmc-ac2d8aa21e1e6ae45573b268151fda57cada110d.tar.gz
Typo in log-overkill explanation.
-rw-r--r--lib/math/log-overkill.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/math/log-overkill.myr b/lib/math/log-overkill.myr
index db7fb7e..17fb7f9 100644
--- a/lib/math/log-overkill.myr
+++ b/lib/math/log-overkill.myr
@@ -38,7 +38,7 @@ use "util"
l'_{n + 1} = 2 l'_{n} (1 + d_n 2^{-n}) + 2 d_n
The nice thing about this is that we can pick d_n easily based on
- truncating l'_n to the first fractional digit: [l'_n]. Then
+ comparing l'_n to some easy constants:
{ +1 if [l'_n] <= -1/2
d_n = { 0 if [l'_n] = 0 or 1/2
@@ -46,7 +46,7 @@ use "util"
*/
pkg math =
pkglocal const logoverkill32 : (x : flt32 -> (flt32, flt32))
- /*pkglocal*/ const logoverkill64 : (x : flt64 -> (flt64, flt64))
+ pkglocal const logoverkill64 : (x : flt64 -> (flt64, flt64))
;;
/*