diff options
| author | Jay Kwak <82421531+jkwak-work@users.noreply.github.com> | 2025-06-05 10:08:22 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-05 17:08:22 +0000 |
| commit | ca0bdd238f29f2fd17ae44eec913bd6c82e0c1fe (patch) | |
| tree | 880e5c5750b0b2065daed77b423b9adf538fd4f2 /docs | |
| parent | 624770a1e1ba7747cd7b2f5e0def1d677e931c8c (diff) | |
Implement isnan and isinf for WGSL with bitwise operations (#7344)
WGSL doesn't support isnan and isinf, because it assumes that it always uses fast-math and fast-math doesnt' handle NaN as defined in IEEE standard.
The initial implementation used a clever workaround but it stopped working from some point.
This PR implemented isnan and isinf with a bitwise operation, which can be expensive.
But that seems to be an only option at the moment.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
