In perl.git, the branch smoke-me/jhi/hexa has been created
<http://perl5.git.perl.org/perl.git/commitdiff/c25b2473eb190133655560eba811b0db90a483e2?hp=0000000000000000000000000000000000000000>
at c25b2473eb190133655560eba811b0db90a483e2 (commit)
- Log -----------------------------------------------------------------
commit c25b2473eb190133655560eba811b0db90a483e2
Author: Jarkko Hietaniemi <[email protected]>
Date: Wed Jul 30 21:59:57 2014 -0400
Implement sprintf %a/%A (hexfloats), part of perl #122219.
Lazily just punt the task to system printf, do whatever it does
for %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, ...)
-----------------------------------------------------------------------
--
Perl5 Master Repository