munrocket

Results 145 comments of munrocket

Here implementation of emulated double in WebGPU that works right now in Chrome/Firefox on MacBook and PC with Linux, uncomment trick with `mix` if you testing precise math. https://codepen.io/munrocket/pen/vYZgyqa

@mrshannon yes, it shows that float32 with limited precision. It’s intentional. I am started to think that fast-math is pretty ok even for this purposes because Dekker multiplication algorithm become...

Glad to help. The only reason why someone will still need to turn off fast-math if they detect that host doesn’t support FMA in hardware. After that fma emulation with...

Ha-ha, that was fun. It's actually miracle how it works. Because current rounding is UB and not specified, as well as fast-math mode. This PR still have potential. For example...