diff options
author | Peter Klausler <pklausler@nvidia.com> | 2024-09-16 13:46:12 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-16 13:46:12 -0700 |
commit | 50d15e688f4a88662f28d5d712f2ba2533466974 (patch) | |
tree | 7493f7593356f1275b3695b281798162f2e44256 /llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp | |
parent | eebe9a3fca39e0d0e464993f41e63aa41c308da7 (diff) | |
download | llvm-50d15e688f4a88662f28d5d712f2ba2533466974.zip llvm-50d15e688f4a88662f28d5d712f2ba2533466974.tar.gz llvm-50d15e688f4a88662f28d5d712f2ba2533466974.tar.bz2 |
[flang] Subnormal arguments to and results from SPACING (#108861)
The standards aren't clear about how IEEE-754 subnormal values interact
with the intrinsic function SPACING. Four compilers interpret the
standard such that SPACING(x) will return a value never less than
TINY(x); one compiler returns TINY(x) for ABS(x) <= TINY(x) but can
return SPACING(x) < TINY(x) for some ABS(x) > TINY(x); one other
compiler works similarly, but also oddly returns SPACING(x) < TINY(x)
for ABS(x) >= TINY(x)/2.
Follow the most common precedent.
Diffstat (limited to 'llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions