n&WorkItemId=5682
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mujtaba Syed
Sent: Friday, November 03, 2006 1:55 PM
To: Discussion of IronPython
Subject: Re: [IronPython] Singles not comparing properly
Also note that:
>>> 5.0 <=
Also note that:
>>> 5.0 <= s <= 500.0
True
>>> 5.0 <= d <= 500.0
True
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian
Muirhead
Sent: Friday, November 03, 2006 3:25 AM
To: users@lists.ironpython.com
Subject: [Iro
Simpler examle:
>>> Single(0) < 1
False
2006/11/3, Christian Muirhead <[EMAIL PROTECTED]>:
> There's no real analogue to this in CPython, but it feels like Single
> and Double should behave the same here. Is this a bug?
Yes, I think this is a bug.
--
Seo Sanghyeon
_
Hi guys -
We encountered a strange bug today, which we eventually worked out was
being caused by the fact that a number we thought was a float (a Double)
was actually a Single. The problem was this:
>>> from System import Double, Single
>>> d = Double(8.0)
>>> d
8.0
>>> 5 <= d <= 500
True