Bug 201831

Summary: [WHLSL] modf should not do a cast from float to uint
Product: WebKit Reporter: Robin Morisset <rmorisset>
Component: WebGPUAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal    
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Robin Morisset 2019-09-16 13:04:46 PDT
It is undefined behavior for both floats that are too large to represent, and for negative ones.
We should instead do a proper truncate.
Comment 1 Myles C. Maxfield 2020-05-05 00:42:44 PDT
WHLSL is no longer relevant.