But the numbers look right (though backwards from the way I expect to see 'em). If you shift your 1 nineteen positions over and subtract one from the result, you'd get what you're showing you'd get. I don't see the issue with the first two.
The last one, however looks like it rotated the 1 bit one end and onto the other.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
In reply to Re^3: Perl's bad at arithmetic?
by roboticus
in thread Perl's bad at arithmetic?
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |