aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
diff options
context:
space:
mode:
authorPaulXiCao <paulxicao7@gmail.com>2024-08-05 20:08:47 +0000
committerGitHub <noreply@github.com>2024-08-05 16:08:47 -0400
commit72825fde03aab3ce9eba2635b872144d1fb6b6b2 (patch)
treec2edd54b79b1b8d702ffd2f684d0df6538d9a4ad /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
parent7e8a9020b1ae3dea28c19f0cd68743482dca13d9 (diff)
downloadllvm-72825fde03aab3ce9eba2635b872144d1fb6b6b2.zip
llvm-72825fde03aab3ce9eba2635b872144d1fb6b6b2.tar.gz
llvm-72825fde03aab3ce9eba2635b872144d1fb6b6b2.tar.bz2
[libc++][math] Fix undue overflowing of `std::hypot(x,y,z)` (#100820)
This is in relation to mr #93350. It was merged to main, but reverted because of failing sanitizer builds on PowerPC. The fix includes replacing the hard-coded threshold constants (e.g. `__overflow_threshold`) for different floating-point sizes by a general computation using `std::ldexp`. Thus, it should now work for all architectures. This has the drawback of not being `constexpr` anymore as `std::ldexp` is not implemented as `constexpr` (even though the standard mandates it for C++23). Closes #92782
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions