strtod, strtold: Avoid unnecessary rounding errors.
commit376b353f9dd93e843e9cf264ec192783a23ab21c
authorBruno Haible <bruno@clisp.org>
Fri, 1 Feb 2019 00:43:41 +0000 (1 01:43 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 1 Feb 2019 00:43:41 +0000 (1 01:43 +0100)
treef087656e1e26d53f3817d3942a144e0ebc48bb28
parenta908d89696b20446e276fd6da143262f959fae9a
strtod, strtold: Avoid unnecessary rounding errors.

* lib/strtod.c (parse_number): Drop trailing zeroes before doing the
decimal to DOUBLE conversion.
ChangeLog
lib/strtod.c