|
InterlockedExAdd Method
|
Adds two 32-bit floating point values and replaces the first
double value with their sum, as an atomic operation.
Namespace:
Accord
Assembly:
Accord (in Accord.dll) Version: 3.8.0
Syntax public static double Add(
ref double location1,
double value
)
Public Shared Function Add (
ByRef location1 As Double,
value As Double
) As Double
Request Example
View SourceParameters
- location1
- Type: SystemDouble
The first variable to be added. - value
- Type: SystemDouble
The second variable to be added.
Return Value
Type:
DoubleThe updated value of the first variable.
See Also