This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Make sprintf %c and chr() on inf/nan return the U+FFFD.
authorJarkko Hietaniemi <jhi@iki.fi>
Wed, 27 Aug 2014 11:45:00 +0000 (07:45 -0400)
committerJarkko Hietaniemi <jhi@iki.fi>
Wed, 27 Aug 2014 22:21:40 +0000 (18:21 -0400)
commit1cd88304d705aae8d2b32c6e925fedd52980a122
treec763a9bd4606e0f77650aaa19d17f16f86b4609f
parent88cb850087cc0ad53c82068a153d89273c31675e
Make sprintf %c and chr() on inf/nan return the U+FFFD.

%c was made to produce "Inf"/"NaN" earlier, but let's
keep with the Unicode way, and make chr() agree with %c.
embed.fnc
embed.h
numeric.c
pod/perldiag.pod
pp.c
proto.h
sv.c
t/op/infnan.t