#565 closed defect (wontfix)
EQV? doesn't distinguish between 0.0 and -0.0
Reported by: | johnwcowan | Owned by: | felix winkelmann |
---|---|---|---|
Priority: | not urgent at all | Milestone: | 4.9.0 |
Component: | unknown | Version: | 4.6.x |
Keywords: | Cc: | ||
Estimated difficulty: |
Description
CHICKEN
(c)2008-2011 The Chicken Team
(c)2000-2007 Felix L. Winkelmann
Version 4.6.7
linux-unix-gnu-x86 [ manyargs dload ptables ]
compiled 2011-04-15 on pubuntu (Linux)
#;1> (define pz (* 1.0 0.0))
#;2> pz
0.0
#;3> (define nz (* -1.0 0.0))
#;4> nz
-0.0
#;5> (eqv? pz nz)
#t
That shouldn't happen. When this is fixed, make sure that (= nz pz) still returns #t.
Change History (4)
comment:1 Changed 14 years ago by
Milestone: | 4.7.0 → 4.8.0 |
---|---|
Owner: | set to felix winkelmann |
Status: | new → assigned |
comment:2 Changed 14 years ago by
Priority: | major → not urgent at all |
---|
comment:3 Changed 14 years ago by
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Why must
eqv?
return something different than=
in this case?