[pypy-dev] x is y <=> id(x)==id(y)

Amaury Forgeot d'Arc amauryfa at gmail.com
Mon May 6 09:03:31 CEST 2013


2013/5/6 Armin Rigo <arigo at tunes.org>

> On Sun, May 5, 2013 at 10:40 PM, Michael Hudson-Doyle <micahel at gmail.com>
> wrote:
> > I want to say something about negative zeroes here....
>
> Right: on floats it's not actually the usual equality, but equality of
> the bit pattern (using float2longlong).


Except for NaN...

-- 
Amaury Forgeot d'Arc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20130506/3d24b5c5/attachment.html>


More information about the pypy-dev mailing list