diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-08-07 11:14:45 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-08-07 11:14:45 -0400 |
commit | a0cc022cc79984648e0ea5e7e5e7620686c56b60 (patch) | |
tree | 9e182b20d04693a5b96ac9b3cf60e1ddf59690d3 /src/math/scalbf.c | |
parent | 734062b298e129a8f8bdae299f8d2b7b19419867 (diff) | |
download | musl-a0cc022cc79984648e0ea5e7e5e7620686c56b60.tar.gz musl-a0cc022cc79984648e0ea5e7e5e7620686c56b60.tar.xz musl-a0cc022cc79984648e0ea5e7e5e7620686c56b60.zip |
fix ecvt/fcvt decimal point position output
these functions are obsolete and have no modern standard. the text in SUSv2 is highly ambiguous, specifying that "negative means to the left of the returned digits", which suggested to me that 0 would mean to the right of the first digit. however, this does not agree with historic practice, and the Linux man pages are more clear, specifying that a negative value means "that the decimal point is to the left of the start of the string" (in which case, 0 would mean the start of the string, in accordance with historic practice).
Diffstat (limited to 'src/math/scalbf.c')
0 files changed, 0 insertions, 0 deletions