This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #127183] Non-canonical hexadecimal floats are parsed prematurely
authorJarkko Hietaniemi <jhi@iki.fi>
Tue, 26 Jan 2016 03:17:09 +0000 (22:17 -0500)
committerJarkko Hietaniemi <jhi@iki.fi>
Wed, 27 Jan 2016 14:30:49 +0000 (09:30 -0500)
commiteba98284740b799def26803ebac340aaa8930437
tree24bea9cf972943f8bbafa0dcb69f0cbcd9c1c97e
parent8e925de9eafe936a6c26a2b646ef06fde25a963f
[perl #127183] Non-canonical hexadecimal floats are parsed prematurely

5.22.1 regression from 5.22.0.

Rewriting the hexfp fractional digits parsing to handle the
trickiness of having to ignore both the leading and trailing
zero bits when determining how many bits were actually given.
t/op/hexfp.t
t/op/sprintf2.t
toke.c