about summary refs log tree commit diff
path: root/src/internal/shgetc.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-04-16 01:53:52 -0400
committerRich Felker <dalias@aerifal.cx>2012-04-16 01:53:52 -0400
commit2ac580fdfe1daf9924f221dc98878ae480306bfa (patch)
tree78e6e97b1801310be2bb4ae7085f3808b6bff1c8 /src/internal/shgetc.h
parent67b25fe0a8947de93e3eddd36dae24a9fec12ade (diff)
downloadmusl-2ac580fdfe1daf9924f221dc98878ae480306bfa.tar.gz
musl-2ac580fdfe1daf9924f221dc98878ae480306bfa.tar.xz
musl-2ac580fdfe1daf9924f221dc98878ae480306bfa.zip
floatscan: fix incorrect count of leading nonzero digits
this off-by-one error was causing values with just one digit past the
decimal point to be treated by the integer case. in many cases it
would yield the correct result, but if expressions are evaluated in
excess precision, double rounding may occur.
Diffstat (limited to 'src/internal/shgetc.h')
0 files changed, 0 insertions, 0 deletions