]> Savannah Git Hosting - gnulib.git/commit
strtof, strtod, strtold: Set errno upon gradual underflow.
authorBruno Haible <bruno@clisp.org>
Tue, 23 Jul 2024 08:39:28 +0000 (10:39 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 12 Aug 2024 15:30:12 +0000 (17:30 +0200)
commit128831d4755230257f175ccd1c2343340d46362e
tree8cd25909f69695ac0b50f94bdbfd947e778fd344
parent4c0b93ab3613d7a8014938034cc24a7a27f704f6
strtof, strtod, strtold: Set errno upon gradual underflow.

* lib/strtod.c (scale_radix_exp): If the result is a denormalized
number, set errno to ERANGE.
ChangeLog
lib/strtod.c