This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
infnan: Simplify inf parsing.
authorJarkko Hietaniemi <jhi@iki.fi>
Sun, 25 Jan 2015 17:27:44 +0000 (12:27 -0500)
committerJarkko Hietaniemi <jhi@iki.fi>
Wed, 28 Jan 2015 11:52:32 +0000 (06:52 -0500)
commit3396ed3031889b7a6890cbcb14149feb7f1ed41f
tree52095b2c2b3979e129e65f6e7f431c97475e3155
parent1e9aa12fc5bed36eadfa398b85d0a5168b0bc635
infnan: Simplify inf parsing.

Accept anything beginning with /^inf/i,
but warn if there's trailing stuff.
numeric.c
t/op/infnan.t