[Git][wine/wine][master] d3dcompiler/tests: Avoid precision issues in the trigonometry tests.
Alexandre Julliard pushed to branch master at wine / wine Commits: 78bc1233 by Matteo Bruni at 2025-06-10T22:44:18+02:00 d3dcompiler/tests: Avoid precision issues in the trigonometry tests. Previously, depending on how the sin() was calculated, we could get a small number or exactly 0, which unfortunately can be pretty far between in terms of ULPs. We don't really want to test edge-case accuracy with trig functions in the first place, so just nudge the angle away from exact values. - - - - - 1 changed file: - dlls/d3dcompiler_43/tests/hlsl_d3d9.c View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/78bc12338556d7aa2e970df91217556... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/78bc12338556d7aa2e970df91217556... You're receiving this email because of your account on gitlab.winehq.org.
participants (1)
-
Alexandre Julliard (@julliard)