summaryrefslogtreecommitdiff log msg author committer range
path: root/lib
diff options
 context: 12345678910152025303540 space: includeignore mode: unifiedssdiffstat only
author committer S. Gilles 2019-05-01 18:16:07 -0400 S. Gilles 2019-05-01 18:16:07 -0400 ac2d8aa21e1e6ae45573b268151fda57cada110d (patch) 8637ed99423fd4c83f2e3264a1bca6a596e0fbab /lib 696f29e1650e45b27a949d513248a52f400531ee (diff) mc-ac2d8aa21e1e6ae45573b268151fda57cada110d.tar.gz
Typo in log-overkill explanation.
Diffstat (limited to 'lib')
-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.myrindex 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)) ;; /*