printf %a botches 0 flag for negative values #15505
Comments
From zefram@fysh.orgCreated by zefram@fysh.org$ perl -lwe 'printf "%020a\n", $_ for 1.5, -1.5' The latter has the zero padding in the wrong place. It should always go $ perl -lwe 'printf $_, 1.5 for "%+020a\n", "% 020a\n"' Perl Info
|
From @jhiOn Wed, 10 Aug 2016 13:37:53 -0700, zefram@fysh.org wrote:
I believe https://perl5.git.perl.org/perl.git/commit/be9304 fixed this.
|
The RT System itself - Status changed from 'new' to 'open' |
@jhi - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#128893 (status was 'resolved')
Searchable as RT128893$
The text was updated successfully, but these errors were encountered: