7 Jul 19:43
Issue 940: (13/10) = 1.3 returns false
I added this new issue that happens on the latest image.
I'm posting it here because I think it is an important bug because it affects the number model.
The problem is related with all fractions who's denominator is not power of two. (130/100 = 1.3 or 1/5 = 0.2, etc)
(See
....
"Try to avoid asTrueFraction because it can cost"
selector == #= ifTrue: [
rcvr denominator isPowerOfTwo ifFalse: [^false]].
...)
Hernan.
_______________________________________________ Pharo-project mailing list Pharo-project@... http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
RSS Feed