diff options
author | Peter Klausler <35819229+klausler@users.noreply.github.com> | 2023-12-26 15:49:09 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-26 15:49:09 -0800 |
commit | 1346037fffae8f173c6915689349abff0118f952 (patch) | |
tree | f23fcc9787f8c858b8282e195a235f42e7d9be7d /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp | |
parent | 9469dc38b01b857a6bef8a57480a30ddba61647d (diff) | |
download | llvm-1346037fffae8f173c6915689349abff0118f952.zip llvm-1346037fffae8f173c6915689349abff0118f952.tar.gz llvm-1346037fffae8f173c6915689349abff0118f952.tar.bz2 |
[flang][runtime] Return +/-HUGE() for some real input roundings (#75525)
The Fortran standard says that overflow input cases in some rounding
modes (RZ, RD, RU) should round to a "representable" number. Some
Fortran compilers interpret this to mean +/-HUGE(), some as +/-Inf.
Follow the precedent of gfortran and the Intel compilers.
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions