Meaning of Float>>closeTo:
Bert Freudenberg
bert at freudenbergs.de
Fri Mar 2 15:58:02 UTC 2007
On Mar 2, 2007, at 15:57 , Damien Cassou wrote:
> 2007/3/2, Jon Hylands <jon at huv.com>:
>> Whether it *should* work this way is another question, but it
>> certainly
>> seems consistent...
>
> Sure, the result is consistent with the implementation :-) But do we
> really want that meaning ?
It's a very sensible definition of "close to":
{
1.1 closeTo: 1.0.
10.1 closeTo: 10.0.
100.1 closeTo: 100.0.
1000.1 closeTo: 1000.0.
}
#(false false false true)
- Bert -
More information about the Squeak-dev
mailing list
|