WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Add attachment
proposed patch, testcase, etc.
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.
Top of Page
Format For Printing
XML
Clone This Bug