RESOLVED WONTFIX 200636
[WHLSL] fmod in the standard library is broken on negative inputs
https://bugs.webkit.org/show_bug.cgi?id=200636
Summary [WHLSL] fmod in the standard library is broken on negative inputs
Robin Morisset
Reported 2019-08-12 11:37:11 PDT
e.g. fmod(-42.0, -3.0) should return -1.0, not 1.0. I don't think it should return 0.0 for fmod(42, -3) or fmod(-42, 3) either. I suspect it could just return the fmod of Metal, but I am still investigating.
Attachments
Myles C. Maxfield
Comment 1 2020-05-05 00:42:41 PDT
WHLSL is no longer relevant.
Note You need to log in before you can comment on or make changes to this bug.