upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/tiny_game_exit_code_test.cpp
diff options
context:
space:
mode:
authorjaybeebabageyus <jaybeebabageyus@users.noreply.github.com>2026-11-22 21:00:21 +0100
committerjaybeebabageyus <jaybeebabageyus@users.noreply.github.com>2026-11-22 21:00:21 +0100
commit4222dd49539d8948d145df7867b71fb96db5a7e3 (patch)
treeeab310714747a870fbe96918b1a1e3e343d2df66 /runtime/test/tiny_game_exit_code_test.cpp
parent162821017ea3c286c8bec860f3ff94f037912061 (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/test/tiny_game_exit_code_test.cpp')
0 files changed, 0 insertions, 0 deletions