Hi Mohammad,
> u.f = c_strtof ("-nan", NULL);
> You can find a sample package on the mentioned machines on Compile Farm:
> ~mnabipoor/x-0.1.tar.gz
I can't access that package (missing permissions), but I can reproduce
the results: On CentOS 7 and Alpine Linux, I too see
strtof("-nan") -> nan
c_strtof("-nan") -> nan
strtod("-nan") -> nan
c_strtod("-nan") -> nan
strtold("-nan") -> nan
c_strtold("-nan") -> nan
while the *printf routines apparently work correctly.
I'll work on a strtof, strtod, strtold override...
Bruno