You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[FRONTEND] Fix atomic min/max for float with negative zero (#6431)
Fixes #6376
The software emulation of atomic min/max uses `x >= 0` to test the
signbit, which breaks down when `x` is `-0.0` which equals zero but does
have the sign bit set .
I fix this by looking at the bit representation of the float and
extracting the sign bit directly.
I also fix not_ raising an error in the interpreter from
`get_all_ones_value` since `np.bool` doesn't have "int" in the name.
0 commit comments