[Gambas-user] Bit manipulation functions

Demosthenes Koptsis demosthenesk at ...626...
Sat Nov 20 17:14:16 CET 2010


hm, ok...

? bin(-9, 64)
1111111111111111111111111111111111111111111111111111111111110111
? bin(lsr(-9,1), 64)
0000000000000000000000000000000001111111111111111111111111111011


On Sat, 2010-11-20 at 17:58 +0200, Jussi Lahtinen wrote:
> ? bin(Lsr(-9,1),32)
-- 
Regards,
Demosthenes Koptsis.





More information about the User mailing list