How on Factorial
contact at xavierho.com
Thu Oct 28 16:26:45 CEST 2010
On 29 October 2010 00:13, Dave Angel <davea at ieee.org> wrote:
> From the help:
> "The unary ~ (invert) operator yields the bitwise inversion of its plain or
> long integer argument. The bitwise inversion of x is defined as -(x+1). It
> only applies to integral numbers"
> Inverting the bits of a floating point number wouldn't make much sense, so
> fortunately it gives an error.
Very cool, Dave. Thanks for looking that up. =]
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list