diff options
author | Jason Ekstrand <[email protected]> | 2017-03-16 21:18:10 -0700 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-03-20 14:08:19 +1000 |
commit | fcca6a83cddfdd7b82b9a7e0412c060d0830e3c3 (patch) | |
tree | 8e5bf8ecb6ca72d78e203a8a8200ac84bafb41ff /src/util/bitset.h | |
parent | e0208949d1eaa7d688b5230581ed353889be5246 (diff) |
spirv: Implement IsInf using an integer comparison
Since we already do fabs on the one source, we're guaranteed to get
positive infinity if we get any infinity at all. Since +inf only has
one IEEE 754 representation, we can use an integer comparison and avoid
all of the ordered/unordered issues.
Cc: Dave Airlie <[email protected]>
Reviewed-by: Elie Tournier <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/util/bitset.h')
0 files changed, 0 insertions, 0 deletions