Change #263543
| Category | ffmpeg |
| Changed by | marcos ashton <marcosashiglesias@gmail.com> |
| Changed at | Sun 05 Apr 2026 02:12:29 |
| Repository | https://git.ffmpeg.org/ffmpeg.git |
| Project | ffmpeg |
| Branch | master |
| Revision | e18c8c533ded73662087ee50080d5c5a6033dccb |
Comments
tests/fate/libavutil: add FATE test for mathematics Test the integer math utility functions: av_gcd, av_rescale, av_rescale_rnd (all rounding modes including PASS_MINMAX), av_rescale_q, av_compare_ts, av_compare_mod, av_rescale_delta, and av_add_stable. Includes large-value tests that exercise the 128-bit multiply path in av_rescale_rnd. av_bessel_i0 is not tested since it uses floating point math that is not bitexact across platforms. Coverage for libavutil/mathematics.c: 0.00% -> 82.03% Remaining uncovered lines are av_bessel_i0 (float, 23 lines) and one edge case fallback in av_rescale_delta.
Changed files
- libavutil/Makefile
- libavutil/tests/mathematics.c
- tests/fate/libavutil.mak
- tests/ref/fate/mathematics