3510fa74
by Bartosz Kosiorek at 2026-04-06T17:34:38+02:00
gdiplus/tests: Fix flaky rounding error in test_getblend.
The sentinel value 0xdeadbeef (3735928559) exceeds the 24-bit mantissa
precision of a 32-bit float. On some architectures (like i386 using
x87 FPU), comparisons between register-stored constants and memory-stored
floats would fail due to inconsistent rounding.
Replaced the sentinel with 12345.0, which can be represented exactly
in a 32-bit float, ensuring deterministic test results across different
floating-point units.