Issue status update for http://smalltalk.gnu.org/project/issue/317 Post a follow up: http://smalltalk.gnu.org/project/comments/add/317

Project:      GNU Smalltalk
Version:      <none>
Component:    Base classes
Category:     bug reports
Priority:     normal
Assigned to:  Unassigned
Reported by:  MrGwen
Updated by:   bonzinip
Status:       active

I'd say it does not make much sense.  Given that NaNs are ~= to
themselves, you cannot do anything with them in an equality-based hash
table (only in a identity-based one).

Were you just playing with fire or did you get into this in some
real-world case?

I wonder how much if anything would be broken by making Float>>#hash
raise an exception for NaNs.




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

Reply via email to