NullableTypes Class Library

NullableSingle Addition Operator 

Computes the sum of the two specified NullableSingle structures.

[Visual Basic]
returnValue = NullableSingle.op_Addition(x, y)
[C#]
public static NullableSingle operator +(
   NullableSingle x,
   NullableSingle y
);

Parameters

x
A NullableSingle structure.
y
A NullableSingle structure.

Return Value

Null if either instance of NullableSingle is Null otherwise a NullableSingle structure whose Value property contains the results of the addition.

Remarks

If the result of the operation is too small for a NullableSingle, it becomes positive zero or negative zero.

If the result of the operation is too large for a NullableSingle, it becomes PositiveInfinity or NegativeInfinity.

If the operation is invalid, the result of the operation becomes NaN.

If one or both operands of the operation is NaN, the result of the operation becomes NaN.

See Also

NullableSingle Class | NullableTypes Namespace