represent a rational number
create a rationalNumber that is very close to d.
create a rationalNumber with n * 10^exp
create a rationalNumber with n * 10^exp
create a rationalNumber with n * 10^exp
create a new rational number with numerator n and denominator d. The result will be n/d*10^0
divide by the number.
return a close representation using double.
return true if the number is 1.
return true if the number is 0.
multiply by the number
parse the string to get the RationalNumber. This simply calls Double.parseDouble, but a future implementation could do a better job of this.
returns the sqrt of the number, e.g. 4 * 10^