ref: ac2d8aa21e1e6ae45573b268151fda57cada110d
parent: 696f29e1650e45b27a949d513248a52f400531ee
author: S. Gilles <[email protected]>
date: Wed May 1 14:16:07 EDT 2019
Typo in log-overkill explanation.
--- a/lib/math/log-overkill.myr
+++ b/lib/math/log-overkill.myr
@@ -38,7 +38,7 @@
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 @@
*/
pkg math =
pkglocal const logoverkill32 : (x : flt32 -> (flt32, flt32))
- /*pkglocal*/ const logoverkill64 : (x : flt64 -> (flt64, flt64))
+ pkglocal const logoverkill64 : (x : flt64 -> (flt64, flt64))
;;
/*