diff options
| author | jaybeebabageyus <jaybeebabageyus@users.noreply.github.com> | 2026-11-22 21:00:21 +0100 |
|---|---|---|
| committer | jaybeebabageyus <jaybeebabageyus@users.noreply.github.com> | 2026-11-22 21:00:21 +0100 |
| commit | 4222dd49539d8948d145df7867b71fb96db5a7e3 (patch) | |
| tree | eab310714747a870fbe96918b1a1e3e343d2df66 /runtime/src/bcpack.cpp | |
| parent | 162821017ea3c286c8bec860f3ff94f037912061 (diff) | |
tests: pin the interpreter's f16 NaN rule across Python versions
struct's '<e' drops NaN payloads before 3.14 and keeps them from 3.14
(CPython gh-130317), so spirv_mini_interp's half_to_float/float_to_half
returned version-dependent words while CI (3.12) pins the pre-3.14
canonical-quiet results. Convert both helpers bit-level with the pinned
rule (a NaN keeps its sign, payload dropped to the canonical quiet NaN)
and add direct regression tests; RNE rounding, subnormals and overflow
are unchanged, so no expected word moves on any Python.
Diffstat (limited to 'runtime/src/bcpack.cpp')
0 files changed, 0 insertions, 0 deletions