isInfinity method

bool isInfinity ()

Returns true if h is a positive or a negative infinity.

Implementation

bool isInfinity() {
  var e = (_h >> 10) & 0x001f;
  var m = _h & 0x3ff;
  return e == 31 && m == 0;
}