But you're Math::IntAny test script implies that you are seeing: 2147483648 2147483648
Sorry Rob if I was not clear. The test's expected value is what JS outputs (therehore what I expect if I want to simulate JS behaviour). Both tests fail in linux (and as you demonstrated above).
I have edited my main post to say that I have asked some more general question at SO a couple of hours ago here: https://stackoverflow.com/questions/77584450/emulate-javascripts-32bit-signed-integer-arithmetic-to-c-or-perl-some-discr and just now I see there are some responses.
In reply to Re^5: Trying to translate overflowing JS code to Perl
by bliako
in thread Trying to translate overflowing JS code to Perl
by bliako
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |