diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-08-07 11:19:11 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-08-07 11:19:11 -0400 |
commit | 983acebc8a22866f720fbdb60aadc2a9c074d8f1 (patch) | |
tree | 4a3d16266b47d5c06aaa79b60d3e807a8bc1eb36 /tools | |
parent | a0cc022cc79984648e0ea5e7e5e7620686c56b60 (diff) | |
download | musl-983acebc8a22866f720fbdb60aadc2a9c074d8f1.tar.gz |
make fcvt decimal point location for zero make more sense
the (obsolete) standard allows either 0 or 1 for the decimal point
location in this case, but since the number of zero digits returned in
the output string (in this implementation) is one more than the number
of digits the caller requested, it makes sense for the decimal point
to be logically "after" the first digit. in a sense, this change goes
with the previous commit which fixed the value of the decimal point
location for non-zero inputs.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions