Files
6gbvram---16gb-ram/crates
Duff 7129bde6a8 GPU: a half-float rounding carry raises the exponent, not halves the value
f32_to_half rounds to nearest by adding half an ulp to the mantissa,
then or-ed the shifted mantissa into the exponent field. When the
rounding carried out of the mantissa, that carry is the exponent's low
bit: or-ed into an odd exponent it was lost, so values just below a
power of two came out at the power below (2 - 2^-12 gave 1.0, not 2.0).
Rectangle lists use it for the fourth corner of half-float elements.

The carry is now added into the exponent.
2026-11-24 02:47:28 +01:00
..
2026-11-23 01:15:26 +01:00