Files
Henrik RydgårdandClaude Opus 5.5 333035df03 Lighting: Compute the GE's pow from the float's bits
Read as an integer, a float's bits are its log2 with the mantissa a
straight line between powers of two, scaled by 2^23, and writing an
integer back is the matching exp2. That's exactly the GE's
approximation, without log2/exp2/floor. pspPow now also returns 1 for
e <= 0 itself, so the callers drop their checks. Shader languages
without integers fall back to a true pow.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-30 15:47:16 -06:00
..
2026-09-21 12:21:19 -06:00
…
…
2026-09-28 17:05:44 -06:00
…
2026-09-28 17:05:44 -06:00
2026-09-28 17:05:44 -06:00
…
2026-08-24 09:30:44 +02:00
…
2026-05-16 10:40:08 +02:00
…
2026-07-27 18:37:28 +02:00