diff options
| author | TreXito <81475944+TreXito@users.noreply.github.com> | 2026-11-23 20:58:05 +0000 |
|---|---|---|
| committer | TreXito <81475944+TreXito@users.noreply.github.com> | 2026-11-23 20:58:05 +0000 |
| commit | 18f1fbe089ac41515147c821875e0caf9b94e21a (patch) | |
| tree | 63a777754e77033e5ab2fe492db37c6effad55b8 /tests/test_run_gpu_tests_python_assembler.py | |
| parent | 2ae6fde16376ae1c6be7229e630f1975a4dbaa7e (diff) | |
rdna2spirv: --fma exact keeps the sign of an underflowing product plus zero
With normal x and y and z = +-0, the exact x*y + z is x*y. The split path
scaled a tiny product by 2^96, and when it still underflowed p rounded to
-0 and th = p + z1 gave -0 + +0 = +0 where the exact result is -0. That
case now selects the single-rounded x*y (reported by sovljanskii in the
PR thread). Denormal factors keep the split path, which follows the
driver's denormal mode as before.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'tests/test_run_gpu_tests_python_assembler.py')
0 files changed, 0 insertions, 0 deletions