diff options
author | Michael Jones <michaelrj@google.com> | 2023-07-10 16:41:41 -0700 |
---|---|---|
committer | Michael Jones <michaelrj@google.com> | 2023-07-11 11:27:19 -0700 |
commit | 2cb4731902d1f05af11154afe19f6fb2331c1920 (patch) | |
tree | 4934e853079810c2591ff516c037819cf343f809 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | |
parent | 06611e361363a4c209aaccd0ee24652d2c56cafb (diff) | |
download | llvm-2cb4731902d1f05af11154afe19f6fb2331c1920.zip llvm-2cb4731902d1f05af11154afe19f6fb2331c1920.tar.gz llvm-2cb4731902d1f05af11154afe19f6fb2331c1920.tar.bz2 |
[libc] adjust strtofloat precision for subnormals
Subnormal floating point numbers have a lower effective precision than
normal floating point numbers. This can cause issues for the fuzz test
since the MPFR floats have a constant precision regardless of the
exponent, and the precision must match exactly or else create rounding
errors. To solve this problem, the precision of the MPFR floats is
dynamically calculated.
Reviewed By: lntue
Differential Revision: https://reviews.llvm.org/D154909
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions