diff options
author | michaelrj-google <71531609+michaelrj-google@users.noreply.github.com> | 2023-10-30 14:04:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-30 14:04:00 -0700 |
commit | 8ca565cd3b68929c0691fd97a6d0f7a52d3e3cd7 (patch) | |
tree | 8a20e32777efab0d0bf6b5eefa8359686f0fd50c /llvm/unittests/CodeGen/MachineInstrTest.cpp | |
parent | 55c9f24344a49cd1deb86af1d79d4dc3a798c6fb (diff) | |
download | llvm-8ca565cd3b68929c0691fd97a6d0f7a52d3e3cd7.zip llvm-8ca565cd3b68929c0691fd97a6d0f7a52d3e3cd7.tar.gz llvm-8ca565cd3b68929c0691fd97a6d0f7a52d3e3cd7.tar.bz2 |
[libc] Fix printf long double truncation bound (#70705)
The calculation for if a number being printed is truncated and should be
rounded up assumed a double for one of its constants, causing
occassional misrounding. This fixes that by making the constant based on
the mantissa width.
Diffstat (limited to 'llvm/unittests/CodeGen/MachineInstrTest.cpp')
0 files changed, 0 insertions, 0 deletions