diff options
| author | PaulXiCao <paulxicao7@gmail.com> | 2024-07-23 15:11:44 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-23 11:11:44 -0400 |
| commit | 9628777479a970db5d0c2d0b456dac6633864760 (patch) | |
| tree | 8e13d034c7be78a1978e81e2150904b2941355f7 /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface | |
| parent | 58f3c5e696021d9e571f868ed3bb4b27b3722df4 (diff) | |
[libc++][math] Fix undue overflowing of `std::hypot(x,y,z)` (#93350)
The 3-dimentionsional `std::hypot(x,y,z)` was sub-optimally implemented.
This lead to possible over-/underflows in (intermediate) results which
can be circumvented by this proposed change.
The idea is to to scale the arguments (see linked issue for full
discussion).
Tests have been added for problematic over- and underflows.
Closes #92782
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface')
0 files changed, 0 insertions, 0 deletions
