summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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))
;;
/*