j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Nicolas Cellier uploaded a new version of Kernel to project The Trunk: http://source.squeak.org/trunk/Kernel-nice.881.mcz
==================== Summary ====================
Name: Kernel-nice.881 Author: nice Time: 27 October 2014, 9:59:32.033 pm UUID: 3a3a0a22-ab12-4838-8606-250c9e58cf76 Ancestors: Kernel-ul.880
Fix Float literal equality: 0.0 and -0.0 are not the same Float...
=============== Diff against Kernel-ul.880 ===============
Item was added: + ----- Method: Float>>literalEqual: (in category 'comparing') ----- + literalEqual: aFloat + "Two float literals can be replaced by a single one only if their representation have the same bits. + For example, zero and negativeZero are equal, but not literally equal." + + ^self class == aFloat class and: [(self at: 1) = (aFloat at: 1) and: [(self at: 2) = (aFloat at: 2)]]!
squeak-dev@lists.squeakfoundation.org