[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] bit operations



WOW

It works without the 0.0...

Why???

Oooo... because now is a double... sorry.

Thanks Xavier

PS: why do you need 0.0 as opposed to just 0?

why have I put 0.0? it have no sense...  mmmmm AnotherCoffeNeededException

Sorry :(


2010/10/4 Xavier Ho <contact@xxxxxxxxxxxx>
On 4 October 2010 20:18, inigo delgado <inigo.delgado@xxxxxxxxx> wrote:

t = 0.0 + (1 << 48) + (2 << 40) + (3 << 32) + (4 << 24) +  (5 <<16) + (6 << 8) + 7 # So I have all the info in one number

Untested, but why do you need 0.0 as opposed to just 0?

-Xav 




--
Nota: Tildes omitidas para evitar incompatibilidades.

:wq