In perl.git, the branch smoke-me/jhi/hexfloat has been created
<http://perl5.git.perl.org/perl.git/commitdiff/c5ebd1701dd52da6afe3bc433defc0bd0790d8dd?hp=0000000000000000000000000000000000000000>
at c5ebd1701dd52da6afe3bc433defc0bd0790d8dd (commit)
- Log -----------------------------------------------------------------
commit c5ebd1701dd52da6afe3bc433defc0bd0790d8dd
Author: Jarkko Hietaniemi <[email protected]>
Date: Thu Jul 31 23:52:07 2014 -0400
Refactor the hexfloat parsing code to numeric.c
M embed.fnc
M embed.h
M ext/XS-APItest/t/grok.t
M numeric.c
M proto.h
M toke.c
commit d32126778a0d3fe47e13edc400a8ce17b9f77b5c
Author: Jarkko Hietaniemi <[email protected]>
Date: Thu Jul 31 12:37:58 2014 -0400
Hexfloat literals, part of perl #122219
Punt to strtod/strtold, just like with decimal floats.
The hexfloat support is C99 feature, like its converse %a/%A.
M MANIFEST
M pod/perldata.pod
M pod/perldiag.pod
A t/op/hexfloat.t
M t/op/sprintf2.t
M toke.c
commit e1d07636e227da89f6ece2da27ac2c00343f3d15
Author: Jarkko Hietaniemi <[email protected]>
Date: Wed Jul 30 21:59:57 2014 -0400
Hexfloat sprintf %a/%A, part of perl #122219.
Just punt the task to system printf, do whatever it does
for %a/%A (%[efgEFG] are handled likewise).
Let me count the ways this can go wrong:
(1) long doubles
(2) no %a (it's C99)
(2) different implementations of %a
(3) broken implementations of %a
(5) IEEE 754 does not define endianness (big, little, mixed (some arms))
(6) non-IEEE-754 formats (vax, cray, ibm, ...)
M pod/perlfunc.pod
M sv.c
M t/op/sprintf.t
M t/op/sprintf2.t
-----------------------------------------------------------------------
--
Perl5 Master Repository