Implement Add/Sub for Float64 (#17)
Signed-off-by: Anton Tiurin <noxiouz@yandex.ru>
This commit is contained in:
committed by
Prashant Varanasi
parent
74ca5ec650
commit
3b8db5e93c
@@ -110,6 +110,8 @@ func TestStressFloat64(t *testing.T) {
|
||||
runStress(func() {
|
||||
atom.Load()
|
||||
atom.CAS(1.0, 0.1)
|
||||
atom.Add(1.1)
|
||||
atom.Sub(0.2)
|
||||
atom.Store(1.0)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user