llvm-project/libc/test/src
Michael Jones 4cdf9884b6 [libc] tweak strtof errno behavior
When strtof/d/ld return a subnormal number they may set errno to
ERANGE. This change makes this behavior more consistent by making any
decimal number converting to a subnormal set errno to ERANGE. This
brings it in line with hexadecimals, which currently only set errno to
ERANGE if the number is truncated when converting to a subnormal.

Reviewed By: sivachandra, lntue

Differential Revision: https://reviews.llvm.org/D113626
2021-11-11 10:17:38 -08:00
..
__support [libc] tweak strtof errno behavior 2021-11-11 10:17:38 -08:00
assert [libc][NFC] Add a death test API adaptation macro 2021-02-01 19:19:04 +00:00
ctype [libc][NFC] add "LlvmLibc" as a prefix to all test names 2021-01-20 23:15:36 +00:00
errno [libc][NFC] Add dummy errno target to satisfy mixed mode builds. 2021-07-30 17:42:48 +00:00
fenv [libc] Add more robust compile time architecture detection 2021-11-02 11:00:33 +00:00
inttypes [libc] Add implementations of div, ldiv, lldiv and imaxdiv. 2021-09-20 04:51:42 +00:00
math [libc][NFC] Move test related pieces from FPUtil to util/UnitTest. 2021-10-29 15:37:30 +00:00
signal [libc][NFC] Add a death test API adaptation macro 2021-02-01 19:19:04 +00:00
stdio [libc][NFC] Move utils/CPP to src/__support/CPP. 2021-10-28 15:50:00 +00:00
stdlib [libc] tweak strtof errno behavior 2021-11-11 10:17:38 -08:00
string [libc] add stpcpy and stpncpy 2021-11-04 11:39:26 -07:00
sys [libc][NFC] add "LlvmLibc" as a prefix to all test names 2021-01-20 23:15:36 +00:00
threads [libc] Add implementations of the C standard condition variable functions. 2021-09-28 21:18:45 +00:00
time [libc] Introduce asctime, asctime_r to LLVM libc 2021-05-03 17:15:00 -07:00
unistd [libc][NFC] add "LlvmLibc" as a prefix to all test names 2021-01-20 23:15:36 +00:00
CMakeLists.txt [libc][NFC] Move utils/CPP to src/__support/CPP. 2021-10-28 15:50:00 +00:00