Files
Velix-MPV-Core/common
Nicolas F f5a894de87 common/common: add saturating multiply macro
Add a new function-like macro MP_SATURATE_MUL. It multiplies a * b and
stores it in pointer "result", but sets "result" to its type's maximum
value if it overflows. Evaluates to true if it saturated, otherwise
false.
2026-06-27 18:10:47 +02:00
..
…
…
…
…
2025-03-04 20:07:29 +01:00
…
2026-01-01 13:26:59 +01:00