NullableTypes Class Library

NullableDouble Equality Operator 

Compares two instances of NullableDouble for equivalence.

[Visual Basic]
returnValue = NullableDouble.op_Equality(x, y)
public static NullableBoolean operator ==(
   NullableDouble x,
   NullableDouble y


A NullableDouble structure.
A NullableDouble structure.

Return Value

A NullableBoolean that is True if the two instances are equivalent or False if the two instances are not equivalent. If either instance of NullableDouble is Null, the Value of the NullableBoolean will be Null.


This operator follows IEEE 754 specifications: if either operand is NaN the result is false; negative and positive zero are considered equal; a NegativeInfinity is considered equal to another NegativeInfinity; a PositiveInfinity is considered equal to another PositiveInfinity.

See Also

NullableDouble Class | NullableTypes Namespace