code: public int compareTo(final BigInteger val) {
          final Rational val2 = new Rational(val, BigInteger.ONE);
          return (compareTo(val2));
      }
docs: Compares the value of this with another constant.
  
  @param val the other constant to compare with
  @return -1, 0 or 1 if this number is numerically less than, equal to,
  or greater than val.