This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #126635] don't shortcut when SVf_IVisUV is set
authorTony Cook <tony@develop-help.com>
Wed, 18 Nov 2015 23:04:25 +0000 (10:04 +1100)
committerTony Cook <tony@develop-help.com>
Tue, 24 Nov 2015 03:02:04 +0000 (14:02 +1100)
commit2efdfb1e6cf6ff62b97356abd74ba479aee48bc1
tree04c31a5cf10184aad362ffc85fc735a3ddc1cfc0
parent1a7cb6482feeead144ca91eb5258ac811e6aa01e
[perl #126635] don't shortcut when SVf_IVisUV is set

Most integers are small, so in most cases it won't be set.

The other option would be to always clear it, but that increases the
amount of inline code for a rare case.
pp.h
t/op/int.t