CVSROOT: /cvs Module name: src Changes by: [email protected] 2018/05/27 21:20:25
Modified files:
lib/libc/arch/alpha/gdtoa: gd_qnan.h
lib/libc/arch/amd64/gdtoa: gd_qnan.h
lib/libc/arch/arm/gdtoa: gd_qnan.h
lib/libc/arch/i386/gdtoa: gd_qnan.h
Log message:
Clear the sign bit in the QNAN constants used by strtof, strtod and strtold,
so passing "nan" and "-nan" produces a NaN with the right sign.
Bug reported and diff provided by George Koehler.
ok kettenis@
