#BUGFIX by stefan
class: LimitedPrecisionReal class
changed: #computeEpsilon
fix for {Long,Short}Float>>#isAlmostEqualTo:nEpsilon: for values near 0
--- a/LimitedPrecisionReal.st Thu May 10 01:16:55 2018 +0200
+++ b/LimitedPrecisionReal.st Thu May 10 01:22:36 2018 +0200
@@ -470,7 +470,7 @@
computeEpsilon
"return the maximum relative spacing"
- ^ self radix asFloat raisedToInteger:(1 - self precision).
+ ^ (self coerce:self radix) raisedToInteger:(1 - self precision).
"
Float radix
@@ -483,6 +483,7 @@
"
"Modified (comment): / 03-07-2017 / 12:12:06 / cg"
+ "Modified: / 10-05-2018 / 01:19:25 / stefan"
!
emax