code: public static BigRational valueOf(BigDecimal numerator, BigDecimal denominator) {
  		return valueOf(numerator).divide(valueOf(denominator));
  	}
docs: Creates a rational number of the specified numerator/denominator BigDecimal values.
  
  @param numerator the numerator {@link BigDecimal} value
  @param denominator the denominator {@link BigDecimal} value (0 not allowed)
  @return the rational number
  @throws ArithmeticException if the denominator is 0 (division by zero)