[Webkit-unassigned] [Bug 200636] New: [WHLSL] fmod in the standard library is broken on negative inputs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 12 11:37:11 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=200636

            Bug ID: 200636
           Summary: [WHLSL] fmod in the standard library is broken on
                    negative inputs
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebGPU
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rmorisset at apple.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190812/dc3f4f65/attachment-0001.html>


More information about the webkit-unassigned mailing list