This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #12285] Fix str vs num inf/nan treatment
authorFather Chrysostomos <sprout@cpan.org>
Sat, 27 Sep 2014 13:48:04 +0000 (06:48 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sat, 27 Sep 2014 13:48:51 +0000 (06:48 -0700)
commit354b74ae6f54fdd18bcf40fc3afcdaddc8b2ca9d
tree89a0523c3d34a032b5b3daa08aaeffe4e2576f3b
parent6625b4731a37f834cd655039c5b8c19bbed23dba
[perl #12285] Fix str vs num inf/nan treatment

sprintf, pack and chr were treating 0+"Inf" and "Inf" differently,
even though they have the same string and numeric values.

pack was also croaking for 0+"Inf" passed to a string format.
embed.fnc
embed.h
numeric.c
pp.c
pp_pack.c
proto.h
sv.c
t/op/infnan.t