code: public static BigRational valueOf(String string) {
  		String[] strings = string.split("/");
  		BigRational result = valueOfSimple(strings[0]);
  		for (int i = 1; i < strings.length; i++) {
  			result = result.divide(valueOfSimple(strings[i]));
  		}
  		return result;
  	}
docs: Creates a rational number of the specified string representation.
  
  <p>The accepted string representations are:</p>
  <ul>
  <li>Output of {@link BigRational#toString()} : "integerPart.fractionPart"</li>
  <li>Output of {@link BigRational#toRationalString()} : "numerator/denominator"</li>
  <li>Output of <code>toString()</code> of {@link BigDecimal}, {@link BigInteger}, {@link Integer}, ...</li>
  <li>Output of <code>toString()</code> of {@link Double}, {@link Float} - except "Infinity", "-Infinity" and "NaN"</li>
  </ul>
  
  @param string the string representation to convert
  @return the rational number
  @throws ArithmeticException if the denominator is 0 (division by zero)