--- layout: stdlib-reference --- # InterlockedCompareStoreFloatBitwise ## Description Perform an atomic compare and store operation on dest. ## Signature
void InterlockedCompareStoreFloatBitwise<T>( T dest, T compare_value, T value) where T : IAtomicable;## Generic Parameters #### T: [IAtomicable](../interfaces/iatomicable-01/index.html) The type of the value to perform the atomic operation on. ## Parameters #### dest : [T](interlockedcomparestorefloatbitwise-0bins.html#typeparam-T) The value to perform the atomic operation on. #### compare\_value : [T](interlockedcomparestorefloatbitwise-0bins.html#typeparam-T) The value to compare dest with. #### value : [T](interlockedcomparestorefloatbitwise-0bins.html#typeparam-T) The value to store into dest if the compare result is equal. ## Remarks When targeting HLSL, a call to this function will translate to a call to InterlockedCompareStoreFloatBitwise, which means the comparison is done as a bitwise comparison. On SPIR-V (Vulkan), this function maps to OpAtomicCompareExchange. On Metal and WGSL, this function is not available. On CUDA, this function maps to atomicCAS.