[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new module 'strtold'
From: |
Bruno Haible |
Subject: |
Re: new module 'strtold' |
Date: |
Sat, 02 Feb 2019 02:44:29 +0100 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-141-generic; KDE/5.18.0; x86_64; ; ) |
> That looks good to me, thanks.
OK. I verified that the of symbols used by c-strtod.o and c-strtold.o on
several platforms is as expected:
nm c-strtod.o nm c-strtold.o
BEFORE AFTER BEFORE AFTER
glibc-2.24 strtod_l strtod_l strtold_l strtold_l
glibc-2.3.2 strtod_l rpl_strtod strtold_l rpl_strtold
uselocale uselocale
Mac OS X 10.5 strtod_l rpl_strtod strtold_l rpl_strtold
uselocale uselocale
Solaris 11.4 strtod rpl_strtod strtold strtold
setlocale uselocale setlocale uselocale
So I pushed the change.
Note: It looks odd that on Solaris 11.4, configure determines that strtold
works but strtod is buggy. But this is in fact right: Indeed, the string
"0XaP+1" is parsed correctly by strtold, but not by strtod.
Bruno