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

Re: [pygame] bit operations



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Â