operator <= method

bool operator <=(
  1. FloatingPointValue other
)

Less-than-or-equal operator for FloatingPointValue.

Implementation

bool operator <=(FloatingPointValue other) {
  _validateComparable(other);
  return !(isNaN || other.isNaN) && compareTo(other) <= 0;
}