30 Commits (6516282d2adfad2c7e66d854cde3357120c75dbd)

Author SHA1 Message Date
Rich Felker e314258e2f fix minor problem in previous strtod non-nearest rounding bug fix 10 years ago
Szabolcs Nagy 6ffdc4579f fix strtod int optimization in non-nearest rounding mode 10 years ago
Szabolcs Nagy d184a09e05 fix strtod and strtof rounding with many trailing zeros 10 years ago
Szabolcs Nagy f3f29795da add IEEE binary128 long double support to floatscan 11 years ago
Rich Felker 835f9f950e clean up stdio_impl.h 14 years ago
Rich Felker 8489897e01 accept "nan(n-char-sequence)" in strtod/scanf functions 14 years ago
Rich Felker 11458e5b09 fix float parsing logic for long decimal expansions 14 years ago
Rich Felker f457b1cb0d fix scanning of "-0x" pseudo-hex float (must give negative zero) 14 years ago
Rich Felker 28c5d46d84 fix off-by-one error that caused uninitialized memory read in floatscan 14 years ago
Rich Felker 02eb568ded remove redundant (unmaintained) check in floatscan 14 years ago
Rich Felker 77731d0ec1 make floatscan correctly set errno for overflow/underflow 14 years ago
Rich Felker 2df2a97a20 skip leading zeros even after decimal point in floatscan 14 years ago
Rich Felker 33e7781b5b fix overread (consuming an extra byte) scanning NAN 14 years ago
Rich Felker cb81b6947c fix really bad breakage in strtol, etc.: failure to accept leading spaces 14 years ago
Rich Felker 1ff3e6fa25 fix typo in exponent reading code or floats 14 years ago
Rich Felker dad4040770 fix failure to read infinity in scanf 14 years ago
Rich Felker 2ac580fdfe floatscan: fix incorrect count of leading nonzero digits 14 years ago
Rich Felker 3ddeedd8f7 remove magic numbers from floatscan 14 years ago
Rich Felker fe514951af optimize more integer cases in floatscan; comment the whole procedure 14 years ago
Rich Felker 470fecdd3a revert invalid optimization in floatscan 14 years ago
Rich Felker 96acdae944 fix stupid typo in floatscan that caused excess rounding of some values 14 years ago
Rich Felker 4054da9ba0 optimize floatscan downscaler to skip results that won't be needed 14 years ago
Rich Felker 5837a0bb6b simplify/debloat radix point alignment code in floatscan 14 years ago
Rich Felker 1bdd5c8b98 optimize floatscan: avoid excessive upscaling 14 years ago
Rich Felker 48bb81adf8 fix bug parsing lone zero followed by junk, and hex float over-reading 14 years ago
Rich Felker 38b3f1fea8 fix float scanning of certain values ending in zeros 14 years ago
Rich Felker 633a26c1e6 fix potential overflow in exponent reading 14 years ago
Rich Felker c5ff29699c set errno properly when parsing floating point 14 years ago
Rich Felker 2162541f38 add "scan helper getc" and rework strtod, etc. to use it 14 years ago
Rich Felker 415c4cd7fd new floating point parser/converter 14 years ago