-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Implement AtomicValue conformances for Float, Double and Float16. Requirements/constraints:
compareExchangemust 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
AtomicFloatingPointprotocol.
JetForMe, odemiral and bauer-andreas
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request