operator == method

  1. @override
bool operator ==(
  1. Object other
)
override

Equality operator for FloatingPointValue.

Implementation

@override
bool operator ==(Object other) {
  if (other is! FloatingPointValue) {
    return false;
  }
  if (isNaN | other.isNaN) {
    return false;
  }
  return compareTo(other) == 0;
}