Problems? Is your data what you think it is? | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hello Masters!
I am trying to liberate a Java program into Perl.
It does a bunch of weird bitwise operations which I'm not very familiar with, but it seems the "<<"operator (left-shift) does not appear to be acting the same way.
I have this bit of Java code, which is known to work as-expected:
RESULT: -268435456 In Perl, I rendered it like this: RESULT: 4026531840 Can anyone see any reason why my Perl would not produce equivalent results as the Java code? Thanks! In reply to Difference between Perl and Java for << operator? by davidfilmer
|
|