Hi monks,
for a module which uses a lot of bitwise operations I want to have it portable, thus test for 64 or 32 bit support, which seems to work like this:
helmut@raspberry2 ~ $ perl -e 'print length(pack('j', -1))*8,"\n";' 64
Will this work? I cannot test it, because even my raspberries have 64int-Perls.
In reply to reliably test integer size for portable bit-fiddling? by wollmers
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |