aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorMichael Jones <michaelrj@google.com>2021-11-10 16:19:29 -0800
committerMichael Jones <michaelrj@google.com>2021-11-11 10:17:38 -0800
commit4cdf9884b60de758243c85a6ac1f94aa975fd10d (patch)
tree9c9b787821883c0221868248798009ce5895f8ba /clang/lib/CodeGen/CodeGenModule.h
parent18da0c0a287707b2f80880c14d77e4f071aae88d (diff)
downloadllvm-4cdf9884b60de758243c85a6ac1f94aa975fd10d.zip
llvm-4cdf9884b60de758243c85a6ac1f94aa975fd10d.tar.gz
llvm-4cdf9884b60de758243c85a6ac1f94aa975fd10d.tar.bz2
[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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions