Yuriy Tymchuk wrote:
I think that while working with float arithmetic it will be nice to provide something like #~= instead of #closeTo:, and also add #~<, #~<= and so on. But maybe I’m wrong :) I don't think you'd be able to repurpose #~= to a different meaning. That way lies madness. However I do still sometimes find myself thinking "approximately equal" instead of "not equal" when I see "~". I'd be very tempted by "!=" if it was available, but in reality I'd be worried about compatibility across smalltalk platforms. cheers -ben
Nice to know we are not totally unique. I came across someone's related query... http://stackoverflow.com/questions/3865103/why-is-not-equal-represented-by-in-matlab
|
- [Pharo-dev] about ~= Christophe Demarey
- Re: [Pharo-dev] about ~= Max Leske
- Re: [Pharo-dev] about ~= Nicolas Cellier
- Re: [Pharo-dev] about ~= Christophe Demarey
- Re: [Pharo-dev] about ~= Yuriy Tymchuk
- Re: [Pharo-dev] about ~= Nicolas Cellier
- Re: [Pharo-dev] about ~= Ben Coman
- Re: [Pharo-dev] about ~= stepharo
- Re: [Pharo-dev] about ~= Norbert Hartl
- Re: [Pharo-dev] about ~= kilon alios
- Re: [Pharo-dev] about ~= Yuriy Tymchuk
- Re: [Pharo-dev] about ~= Damien Cassou
- Re: [Pharo-dev] about ~= Sven Van Caekenberghe
- Re: [Pharo-dev] about ~= Yuriy Tymchuk
- Re: [Pharo-dev] about ~= Christophe Demarey
- Re: [Pharo-dev] about ~= Clément Bera
- Re: [Pharo-dev] about ~= Esteban A. Maringolo
