I found this:
st> var5 := Fraction numerator: 3 denominator: 4 !
Fraction new "<0x1057dc0>"
st> var5 printString !
'3/4'
st> var5 storeOn: stdout !
(Fraction numerator: 3 denominator: 3)Fraction new "<0x1057dc0>"
st>
The numerator is also used as the denominator.

I also found that the class comment is inaccurate, the arithmatic operators
do not answer a reduced fraction, the reduce private method is never accessed.



_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to