msvcrt: Fix strtof() error reporting for values out of float range.
commit057ecd41cc98cc8c18b04058c0f4323495904e07
authorMartin Storsjo <martin@martin.st>
Wed, 28 Jul 2021 14:43:19 +0000 (28 17:43 +0300)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 28 Jul 2021 20:07:05 +0000 (28 22:07 +0200)
tree820560c22ca2ed65bdbe7dfe7800486c960a2e16
parent868c9ee7c92a528461fc1d00d30e75dbb85958bb
msvcrt: Fix strtof() error reporting for values out of float range.

If the values weren't out of range for the internal strtod() call,
we still must mark them as out of range when returning as float.

Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/msvcrt/string.c
dlls/msvcrt/wcs.c
dlls/ucrtbase/tests/string.c