diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2016-03-26 20:27:18 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2016-03-26 20:27:18 +0100 |
commit | 3e446e9723428ed29c402d1b6ee297e5797b9750 (patch) | |
tree | 45cdb66b8e65721e79efeb492f9921302b97ac6c /newlib/libc/include/stdlib.h | |
parent | 18b47e05d3a971656ebb2306c205d0a6b36e6b91 (diff) | |
download | cygnal-3e446e9723428ed29c402d1b6ee297e5797b9750.tar.gz cygnal-3e446e9723428ed29c402d1b6ee297e5797b9750.tar.bz2 cygnal-3e446e9723428ed29c402d1b6ee297e5797b9750.zip |
strtold: Fix Infinity value.
Infinity returned from strtold is recognized as NaN by GCC builtin
functions. The reason is that ULtox is missing to set a bit.
* libc/stdlib/strtorx.c (ULtox): Set high bit in second word
to create valid Infinity value.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/include/stdlib.h')
0 files changed, 0 insertions, 0 deletions