# New Ticket Created by  Aleks-Daniel Jakimenko-Aleksejev 
# Please include the string:  [perl #131994]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=131994 >


This one is really old.

Code:
my int32 $x = -2147483648;
my Int $z = $x;
say $z;
say $z * 1.0

Result (2014.01 … 2015.07.2):
-2147483648
-2147483648

Result (b3b4926cc0, 2015.09 … 2017.08, HEAD(e3af662)):
-2147483648
-18446744071562067968


All other values don't seem to cause problems. int64 seems to be OK too.

Bisected to 
https://github.com/rakudo/rakudo/commit/b3b4926cc06eb189e6a9be6d31353fe933f7fe03

Reply via email to