Re: bitwise operations limited to 32 bits

new topic     » goto parent     » topic index » view thread      » older message » newer message

Oops, those int_to_bits function calls should take a bit_count parameter of 52.

override function or_bits(atom a, atom b) 
    return bits_to_int(or_bits(int_to_bits(a,52), int_to_bits(b,52))) 
end function 
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu