[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-smalltalk] [bug] Number comparisons not transitive
From: |
Paolo Bonzini |
Subject: |
[Help-smalltalk] [bug] Number comparisons not transitive |
Date: |
Mon, 05 Jan 2009 06:03:18 -0700 |
Issue status update for
http://smalltalk.gnu.org/node/275
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/275
Project: GNU Smalltalk
Version: <none>
Component: Base classes
Category: bug reports
Priority: normal
Assigned to: Unassigned
Reported by: bonzinip
Updated by: bonzinip
Status: active
See http://bugs.squeak.org/view.php?id=3374
a := 16rFFFFFFFFFFFFF81.
b := 16rFFFFFFFFFFFFF82.
c := a asFloat.
{a = b.
a = c.
b = c.}
gives
(false true true )
(should all be false).
To fix this one would need to define a separate generality for
comparisons and arithmetic, and adjust hashes similarly.
- [Help-smalltalk] [bug] Number comparisons not transitive,
Paolo Bonzini <=