code: @Override
      public int compareTo(BigRational b)
      {
          BigRational a = this;
          return a.numerator.multiply(b.denominator).compareTo(a.denominator.multiply(b.numerator));
      }
docs: return { -1, 0, + 1 } if a < b, a = b, or a > b