- BigFraction - Class in <Unnamed>
-
BigFraction is composed of a BigInteger numerator and a BigInteger denominator.
- BigFraction(BigInteger, BigInteger) - Constructor for class BigFraction
-
Given a BigInteger numerator and denominator, simplify the fraction by dividing both numerator and denominator by their greatest common divisor, and
change signs such that the denominator is always positive.
- BigFraction(BigFraction) - Constructor for class BigFraction
-
Given a BigFraction, copy its BigInteger numerator and denominator fields to the fields of the new BigFraction object.
- BigFraction(String) - Constructor for class BigFraction
-
Given a String consisting of two integers separated by a single '/', initialize the numerator and denominator fields
with BigIntegers constructed with the substrings before and after the '/', respectively.
- BigFraction(long, long) - Constructor for class BigFraction
-
Construct a BigFraction given two long numerator and denominator values, convert and assign them to BigInteger numerator and denominator values.