On 28 October 2010 23:52, Dave Angel <da...@ieee.org> wrote:

> The ~- trick only works on two's complement numbers.  I've worked on
> machines in the past that used one's complement, and this wouldn't work
> there.
>
> DaveA
>

I imagine this wouldn't work on floating point numbers either.

Cheers,
Xav
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to