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
Implement AtomicValue conformances for Float, Double and Float16. Requirements/constraints:
compareExchange must compare the underlying encoded bit patterns rather than performing actual floating point comparisons. (I.e., it must consider negative zero different from positive zero, it must consider a NaN value equal to itself, etc.)
We should provide as many direct operations as llvm/clang exposes. It would be nice to at least provide an atomic addition.
We probably don't need/want an AtomicFloatingPoint protocol.
The text was updated successfully, but these errors were encountered:
Implement
AtomicValue
conformances forFloat
,Double
andFloat16
. Requirements/constraints:compareExchange
must compare the underlying encoded bit patterns rather than performing actual floating point comparisons. (I.e., it must consider negative zero different from positive zero, it must consider a NaN value equal to itself, etc.)AtomicFloatingPoint
protocol.The text was updated successfully, but these errors were encountered: