diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2025-07-20 12:28:44 -0700 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2025-08-01 12:34:33 -0700 |
| commit | 9fdb5e1fef223c777d9cdf2f6d5eaffb33c59b0d (patch) | |
| tree | 4503457723db297bb7203562ca2a7b5f9a8004cf /lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp | |
| parent | b63a9b7a3cdc1e41545df595215077e50bfd04af (diff) | |
[APFloat] Properly implement next for DoubleAPFloat
Rather than converting to the legacy 106-bit format, perform next() on the
low APFloat. Of course, we need to renormalize the two APFloats if
either of the two constraints are violated:
1. abs(low) <= ulp(high)/2
2. high = rtne(high + low)
Should renormalization be needed, it will increment the high component
and set low to the smallest value which obeys these rules.
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp')
0 files changed, 0 insertions, 0 deletions
