How on Factorial

Xavier Ho contact at
Thu Oct 28 16:26:45 CEST 2010

On 29 October 2010 00:13, Dave Angel <davea at> 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.
> DaveA

Very cool, Dave. Thanks for looking that up. =]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list