aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/CodeGen/MachineInstrTest.cpp
diff options
context:
space:
mode:
authormichaelrj-google <71531609+michaelrj-google@users.noreply.github.com>2023-10-30 14:04:00 -0700
committerGitHub <noreply@github.com>2023-10-30 14:04:00 -0700
commit8ca565cd3b68929c0691fd97a6d0f7a52d3e3cd7 (patch)
tree8a20e32777efab0d0bf6b5eefa8359686f0fd50c /llvm/unittests/CodeGen/MachineInstrTest.cpp
parent55c9f24344a49cd1deb86af1d79d4dc3a798c6fb (diff)
downloadllvm-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