|
From: | Paolo Bonzini |
Subject: | Re: [Help-smalltalk] Fractions bug |
Date: | Mon, 22 Jan 2007 09:40:01 +0100 |
User-agent: | Thunderbird 1.5.0.9 (Macintosh/20061207) |
I also found that the class comment is inaccurate, the arithmatic operatorsdo not answer a reduced fraction, the reduce private method is never accessed.
Please verify your assertions, as you obviously did (instead) for the #storeOn: bug which is real. #reduce is never called because the arithmetic operators compute gcd's on their own for speed.
st> ^(3/4)+(1/4) st> ! 1 Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |