A B C D E F G H I L M N O P Q R S T V W Z 

A

abs() - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns the absolute value of this.
abs() - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns the absolute value of this.
add(Number) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns this + n.
add(Number) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns this + n.

B

BigFraction - Class in com.github.kiprobinson.bigfraction
Arbitrary-precision fraction, utilizing BigIntegers for numerator and denominator.
BigFraction(Number) - Constructor for class com.github.kiprobinson.bigfraction.BigFraction
Note: BigFraction.valueOf(Number) should be preferred for performance reasons.
BigFraction(Number, Number) - Constructor for class com.github.kiprobinson.bigfraction.BigFraction
Note: BigFraction.valueOf(Number, Number) should be preferred for performance reasons.
BigFraction(String) - Constructor for class com.github.kiprobinson.bigfraction.BigFraction
Note: BigFraction.valueOf(String) should be preferred for performance reasons.
BigFraction(String, int) - Constructor for class com.github.kiprobinson.bigfraction.BigFraction
Note: BigFraction.valueOf(String, int) should be preferred for performance reasons.
byteValue() - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns a byte representation of this fraction.
byteValue() - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns a byte representation of this fraction.
byteValueExact() - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns an exact byte representation of this fraction.
byteValueExact() - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns an exact byte representation of this fraction.

C

com.github.kiprobinson.bigfraction - package com.github.kiprobinson.bigfraction
 
com.github.kiprobinson.bigfraction.util - package com.github.kiprobinson.bigfraction.util
 
compareTo(Number) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns a negative, zero, or positive number, indicating if this object is less than, equal to, or greater than n, respectively.
compareTo(Number) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns a negative, zero, or positive number, indicating if this object is less than, equal to, or greater than n, respectively.
complement() - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns the complement of this fraction, which is equal to 1 - this.
complement() - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns the complement of this fraction, which is equal to 1 - this.

D

difference(Number, Number) - Static method in class com.github.kiprobinson.bigfraction.BigFraction
Returns a - b, represented as a BigFraction.
difference(Number, Number) - Static method in class com.github.kiprobinson.bigfraction.LongFraction
Returns a - b, represented as a LongFraction.
divide(Number) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns this / n.
divide(Number) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns this / n.
divideAndRemainder(Number) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns integral quotient and fractional remainder of this/n.
divideAndRemainder(Number, DivisionMode) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns integral quotient and fractional remainder of this/n, using specified division mode.
divideAndRemainder(Number) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns integral quotient and fractional remainder of this/n.
divideAndRemainder(Number, DivisionMode) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns integral quotient and fractional remainder of this/n, using specified division mode.
divideInto(Number) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns n / this.
divideInto(Number) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns n / this.
divideToIntegralValue(Number) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Divides to an integral value, using DivisionMode.TRUNCATED division mode.
divideToIntegralValue(Number, DivisionMode) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Divides to an integral value, using the specified division mode.
divideToIntegralValue(Number) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Divides to an integral value, using DivisionMode.TRUNCATED division mode.
divideToIntegralValue(Number, DivisionMode) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Divides to an integral value, using the specified division mode.
DivisionMode - Enum in com.github.kiprobinson.bigfraction
Representation of methods of performing Euclidean division--dividing to an integer and obtaining a remainder.
DoubleUtil - Class in com.github.kiprobinson.bigfraction.util
Additional utilities for working with double values.
doubleValue() - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns the value of this fraction.
doubleValue() - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns the value of this fraction.
doubleValueExact() - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns an exact double representation of this fraction.

Warning: Current algorithm is simply to convert to double, then convert back to BigFraction, then make sure the copy of copy is identical to the original.
doubleValueExact() - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns an exact double representation of this fraction.

Warning: Current algorithm is simply to convert to double, then convert back to BigFraction, then make sure the copy of copy is identical to the original.

E

equals(Object) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns if this object is equal to another object.
equals(Object) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns if this object is equal to another object.
equalsNumber(Number) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns if this object is equal to another Number object.
equalsNumber(Number) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns if this object is equal to another Number object.

F

fareyClosest(int) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns the closest fraction with denominator less than or equal to the given denominator.
fareyClosest(int) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns the closest fraction with denominator less than or equal to the given denominator.
fareyNext(int) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns the next fraction in the Farey sequence with denominator less than or equal to the given denominator.
fareyNext(int) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns the next fraction in the Farey sequence with denominator less than or equal to the given denominator.
fareyPrev(int) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns the previous fraction in the Farey sequence with denominator less than or equal to the given denominator.
fareyPrev(int) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns the previous fraction in the Farey sequence with denominator less than or equal to the given denominator.
FloatUtil - Class in com.github.kiprobinson.bigfraction.util
Additional utilities for working with floay values.
floatValue() - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns the value of this fraction.
floatValue() - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns the value of this fraction.
floatValueExact() - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns an exact float representation of this fraction.

Warning: Current algorithm is simply to convert to float, then convert back to BigFraction, then make sure the copy of copy is identical to the original.
floatValueExact() - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns an exact float representation of this fraction.

Warning: Current algorithm is simply to convert to float, then convert back to BigFraction, then make sure the copy of copy is identical to the original.

G

gcd(Number) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns the greatest common divisor (also called greatest common factor) of this and n.

If this and n are both zero, returns 0/1.

Note: The result will always be nonnegative, regardless of the signs of the inputs.

When dealing with fractions, the divisors of a/b are: (a/b)/1, (a/b)/2, (a/b)/3, ...
gcd(Number) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns the greatest common divisor (also called greatest common factor) of this and n.

If this and n are both zero, returns 0/1.

Note: The result will always be nonnegative, regardless of the signs of the inputs.

When dealing with fractions, the divisors of a/b are: (a/b)/1, (a/b)/2, (a/b)/3, ...
getAllParts(double) - Static method in class com.github.kiprobinson.bigfraction.util.DoubleUtil
Returns an array containing the parts of the double.
getAllParts(double, boolean) - Static method in class com.github.kiprobinson.bigfraction.util.DoubleUtil
Returns an array containing the parts of the double.
getAllParts(float) - Static method in class com.github.kiprobinson.bigfraction.util.FloatUtil
Returns an array containing the parts of the float.
getAllParts(float, boolean) - Static method in class com.github.kiprobinson.bigfraction.util.FloatUtil
Returns an array containing the parts of the float.
getDenominator() - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns the denominator of this fraction.
getDenominator() - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns the denominator of this fraction.
getDouble(int, int, long) - Static method in class com.github.kiprobinson.bigfraction.util.DoubleUtil
Creates a new double primitive using the provided component bits.
getDouble(int, int, long, boolean) - Static method in class com.github.kiprobinson.bigfraction.util.DoubleUtil
Creates a new double primitive using the provided component bits.
getExponent(double) - Static method in class com.github.kiprobinson.bigfraction.util.DoubleUtil
Returns the exponent, after adding the exponent offset to the exponent bits.
getExponent(float) - Static method in class com.github.kiprobinson.bigfraction.util.FloatUtil
Returns the exponent, after adding the exponent offset to the exponent bits.
getExponentBits(double) - Static method in class com.github.kiprobinson.bigfraction.util.DoubleUtil
Returns the raw exponent bits, without adjusting for the offset.
getExponentBits(float) - Static method in class com.github.kiprobinson.bigfraction.util.FloatUtil
Returns the raw exponent bits, without adjusting for the offset.
getFloat(int, int, int) - Static method in class com.github.kiprobinson.bigfraction.util.FloatUtil
Creates a new float primitive using the provided component bits.
getFloat(int, int, int, boolean) - Static method in class com.github.kiprobinson.bigfraction.util.FloatUtil
Creates a new float primitive using the provided component bits.
getFractionPart() - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns the fraction part of this fraction; that is, the fraction that represents the part that would come after the decimal point if this were written as a decimal number.
getFractionPart(DivisionMode) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns the fraction part of this fraction; that is, the remainder when the numerator is divided by the denominator when using the specified division mode.
getFractionPart() - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns the fraction part of this fraction; that is, the fraction that represents the part that would come after the decimal point if this were written as a decimal number.
getFractionPart(DivisionMode) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns the fraction part of this fraction; that is, the remainder when the numerator is divided by the denominator when using the specified division mode.
getIntegerPart() - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns the integer part of this fraction; that is, the part that would come before the decimal point if this were written as a decimal number.
getIntegerPart(DivisionMode) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns the integer part of this fraction; that is, the part that would come before the decimal point if this were written as a decimal number.
getIntegerPart() - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns the integer part of this fraction; that is, the part that would come before the decimal point if this were written as a decimal number.
getIntegerPart(DivisionMode) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns the integer part of this fraction; that is, the part that would come before the decimal point if this were written as a decimal number.
getMantissa(double) - Static method in class com.github.kiprobinson.bigfraction.util.DoubleUtil
Returns the mantissa bits (bits 51-0).
getMantissa(float) - Static method in class com.github.kiprobinson.bigfraction.util.FloatUtil
Returns the mantissa bits (bits 51-0).
getNumerator() - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns the numerator of this fraction.
getNumerator() - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns the numerator of this fraction.
getParts() - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns the integer and fraction parts of this fraction.
getParts(DivisionMode) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns the integer and fraction parts of this fraction.
getParts() - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns the integer and fraction parts of this fraction.
getParts(DivisionMode) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns the integer and fraction parts of this fraction.
getSign(double) - Static method in class com.github.kiprobinson.bigfraction.util.DoubleUtil
Returns the sign bit (bit 63).
getSign(float) - Static method in class com.github.kiprobinson.bigfraction.util.FloatUtil
Returns the sign bit (bit 63).

H

hashCode() - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns a hash code for this object.
hashCode() - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns a hash code for this object.

I

integralQuotient(Number, Number) - Static method in class com.github.kiprobinson.bigfraction.BigFraction
Returns result of integer division a / b, using truncated division mode.
integralQuotient(Number, Number, DivisionMode) - Static method in class com.github.kiprobinson.bigfraction.BigFraction
Returns result of integer division a / b, using specified division mode.
integralQuotient(Number, Number) - Static method in class com.github.kiprobinson.bigfraction.LongFraction
Returns result of integer division a / b, using truncated division mode.
integralQuotient(Number, Number, DivisionMode) - Static method in class com.github.kiprobinson.bigfraction.LongFraction
Returns result of integer division a / b, using specified division mode.
intValue() - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns an int representation of this fraction.
intValue() - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns an int representation of this fraction.
intValueExact() - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns an exact int representation of this fraction.
intValueExact() - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns an exact int representation of this fraction.
isFinite(double) - Static method in class com.github.kiprobinson.bigfraction.util.DoubleUtil
Returns true if d is finite--not infinite and not NaN.
isFinite(float) - Static method in class com.github.kiprobinson.bigfraction.util.FloatUtil
Returns true if f is finite--not infinite and not NaN.
isSubnormal(double) - Static method in class com.github.kiprobinson.bigfraction.util.DoubleUtil
Returns whether or not this double is a subnormal value.
isSubnormal(float) - Static method in class com.github.kiprobinson.bigfraction.util.FloatUtil
Returns whether or not this float is a subnormal value.

L

lcm(Number) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns least common multiple of this and n.

If this or n is zero, returns 0/1.

Note: The result will always be nonnegative, regardless of the signs of the inputs.

When dealing with fractions, the multiples of a/b are: (a/b)*1, (a/b)*2, (a/b)*3, ...
lcm(Number) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns least common multiple of this and n.

If this or n is zero, returns 0/1.

Note: The result will always be nonnegative, regardless of the signs of the inputs.

When dealing with fractions, the multiples of a/b are: (a/b)*1, (a/b)*2, (a/b)*3, ...
LongFraction - Class in com.github.kiprobinson.bigfraction
Arbitrary-precision fraction, utilizing longs for numerator and denominator.
LongFraction(Number) - Constructor for class com.github.kiprobinson.bigfraction.LongFraction
Note: valueOf(Number) should be preferred for performance reasons.
LongFraction(Number, Number) - Constructor for class com.github.kiprobinson.bigfraction.LongFraction
Note: valueOf(Number, Number) should be preferred for performance reasons.
LongFraction(String) - Constructor for class com.github.kiprobinson.bigfraction.LongFraction
Note: valueOf(String) should be preferred for performance reasons.
LongFraction(String, int) - Constructor for class com.github.kiprobinson.bigfraction.LongFraction
Note: valueOf(String, int) should be preferred for performance reasons.
longValue() - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns a long representation of this fraction.
longValue() - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns a long representation of this fraction.
longValueExact() - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns an exact long representation of this fraction.
longValueExact() - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns an exact long representation of this fraction.

M

max(Number) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns the larger of this and n.
max(Number, Number) - Static method in class com.github.kiprobinson.bigfraction.BigFraction
Returns the larger of a and b.
max(Number) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns the larger of this and n.
max(Number, Number) - Static method in class com.github.kiprobinson.bigfraction.LongFraction
Returns the larger of a and b.
MAX_EXPONENT - Static variable in class com.github.kiprobinson.bigfraction.util.DoubleUtil
The largest permitted exponent value, when using an exponent with offset.
MAX_EXPONENT - Static variable in class com.github.kiprobinson.bigfraction.util.FloatUtil
The largest permitted exponent value, when using an exponent with offset.
MAX_EXPONENT_BITS - Static variable in class com.github.kiprobinson.bigfraction.util.DoubleUtil
The largest permitted exponent value, when using raw exponent bits.
MAX_EXPONENT_BITS - Static variable in class com.github.kiprobinson.bigfraction.util.FloatUtil
The largest permitted exponent value, when using raw exponent bits.
MAX_MANTISSA - Static variable in class com.github.kiprobinson.bigfraction.util.DoubleUtil
The largest permitted mantissa value.
MAX_MANTISSA - Static variable in class com.github.kiprobinson.bigfraction.util.FloatUtil
The largest permitted mantissa value.
mediant(Number) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns the mediant of this and n.
mediant(Number, Number) - Static method in class com.github.kiprobinson.bigfraction.BigFraction
Returns the mediant of a and b.
mediant(Number) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns the mediant of this and n.
mediant(Number, Number) - Static method in class com.github.kiprobinson.bigfraction.LongFraction
Returns the mediant of a and b.
min(Number) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns the smaller of this and n.
min(Number, Number) - Static method in class com.github.kiprobinson.bigfraction.BigFraction
Returns the smaller of a and b.
min(Number) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns the smaller of this and n.
min(Number, Number) - Static method in class com.github.kiprobinson.bigfraction.LongFraction
Returns the smaller of a and b.
MIN_EXPONENT - Static variable in class com.github.kiprobinson.bigfraction.util.DoubleUtil
The smallest permitted exponent value, when using an exponent with offset.
MIN_EXPONENT - Static variable in class com.github.kiprobinson.bigfraction.util.FloatUtil
The smallest permitted exponent value, when using an exponent with offset.
multiply(Number) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns this * n.
multiply(Number) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns this * n.

N

negate() - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns -this.
negate() - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns -this.

O

ONE - Static variable in class com.github.kiprobinson.bigfraction.BigFraction
The value 1/1.
ONE - Static variable in class com.github.kiprobinson.bigfraction.LongFraction
The value 1/1.
ONE_HALF - Static variable in class com.github.kiprobinson.bigfraction.BigFraction
The value 1/2.
ONE_HALF - Static variable in class com.github.kiprobinson.bigfraction.LongFraction
The value 1/2.
ONE_TENTH - Static variable in class com.github.kiprobinson.bigfraction.BigFraction
The value 1/10.
ONE_TENTH - Static variable in class com.github.kiprobinson.bigfraction.LongFraction
The value 1/10.

P

pow(int) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns this^exponent.

Note: 0^0 will return 1/1.
pow(int) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns this^exponent.

Note: 0^0 will return 1/1.
product(Number, Number) - Static method in class com.github.kiprobinson.bigfraction.BigFraction
Returns a * b, represented as a BigFraction.
product(Number, Number) - Static method in class com.github.kiprobinson.bigfraction.LongFraction
Returns a * b, represented as a LongFraction.

Q

quotient(Number, Number) - Static method in class com.github.kiprobinson.bigfraction.BigFraction
Returns a / b, represented as a BigFraction.
quotient(Number, Number) - Static method in class com.github.kiprobinson.bigfraction.LongFraction
Returns a / b, represented as a LongFraction.
quotientAndRemainder(Number, Number) - Static method in class com.github.kiprobinson.bigfraction.BigFraction
Returns integral quotient and fractional remainder of integer division a / b, using truncated division mode.
quotientAndRemainder(Number, Number, DivisionMode) - Static method in class com.github.kiprobinson.bigfraction.BigFraction
Returns integral quotient and fractional remainder of integer division a / b, using specified division mode.
quotientAndRemainder(Number, Number) - Static method in class com.github.kiprobinson.bigfraction.LongFraction
Returns integral quotient and fractional remainder of integer division a / b, using truncated division mode.
quotientAndRemainder(Number, Number, DivisionMode) - Static method in class com.github.kiprobinson.bigfraction.LongFraction
Returns integral quotient and fractional remainder of integer division a / b, using specified division mode.

R

reciprocal() - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns 1/this.
reciprocal() - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns 1/this.
remainder(Number) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Computes division remainder (modulus), using DivisionMode.TRUNCATED division mode.
remainder(Number, DivisionMode) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Computes division remainder (modulus), using the specified division mode.
remainder(Number, Number) - Static method in class com.github.kiprobinson.bigfraction.BigFraction
Returns fractional remainder of integer division a / b, using truncated division mode.
remainder(Number, Number, DivisionMode) - Static method in class com.github.kiprobinson.bigfraction.BigFraction
Returns fractional remainder of integer division a / b, using specified division mode.
remainder(Number) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Computes division remainder (modulus), using DivisionMode.TRUNCATED division mode.
remainder(Number, DivisionMode) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Computes division remainder (modulus), using the specified division mode.
remainder(Number, Number) - Static method in class com.github.kiprobinson.bigfraction.LongFraction
Returns fractional remainder of integer division a / b, using truncated division mode.
remainder(Number, Number, DivisionMode) - Static method in class com.github.kiprobinson.bigfraction.LongFraction
Returns fractional remainder of integer division a / b, using specified division mode.
round() - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns this rounded to the nearest whole number, using RoundingMode.HALF_UP as the default rounding mode.
round(RoundingMode) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns this fraction rounded to a whole number, using the given rounding mode.
round() - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns this rounded to the nearest whole number, using RoundingMode.HALF_UP as the default rounding mode.
round(RoundingMode) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns this fraction rounded to a whole number, using the given rounding mode.
roundToDenominator(BigInteger) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Rounds the given fraction to the nearest fraction having the given denominator, using HALF_UP rounding method, and returns the numerator of that fraction.
roundToDenominator(BigInteger, RoundingMode) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Rounds the given fraction to the nearest fraction having the given denominator, using the given rounding method, and returns the numerator of that fraction.

For example, given the fraction 7/15, if you wanted to know the nearest fraction with denominator 6, it would be 2.8/6, which rounds to 3/6.
roundToDenominator(long) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Rounds the given fraction to the nearest fraction having the given denominator, using HALF_UP rounding method, and returns the numerator of that fraction.
roundToDenominator(long, RoundingMode) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Rounds the given fraction to the nearest fraction having the given denominator, using the given rounding method, and returns the numerator of that fraction.

For example, given the fraction 7/15, if you wanted to know the nearest fraction with denominator 6, it would be 2.8/6, which rounds to 3/6.
roundToNumber(Number) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Rounds this fraction to the nearest multiple of the given number, using HALF_UP rounding method.
roundToNumber(Number, RoundingMode) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Rounds this fraction to the nearest multiple of the given number, using the specified rounding method.

Note for HALF_EVEN rounding method: this rounds to the nearest even multiple of n, which may or may not be even.
roundToNumber(Number) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Rounds this fraction to the nearest multiple of the given number, using HALF_UP rounding method.
roundToNumber(Number, RoundingMode) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Rounds this fraction to the nearest multiple of the given number, using the specified rounding method.

Note for HALF_EVEN rounding method: this rounds to the nearest even multiple of n, which may or may not be even.

S

shortValue() - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns a short representation of this fraction.
shortValue() - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns a short representation of this fraction.
shortValueExact() - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns an exact short representation of this fraction.
shortValueExact() - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns an exact short representation of this fraction.
signum() - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns -1, 0, or 1, representing the sign of this fraction.
signum() - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns -1, 0, or 1, representing the sign of this fraction.
subtract(Number) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns this - n.
subtract(Number) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns this - n.
subtractFrom(Number) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns n - this.
subtractFrom(Number) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns n - this.
sum(Number, Number) - Static method in class com.github.kiprobinson.bigfraction.BigFraction
Returns a + b, represented as a BigFraction.
sum(Number, Number) - Static method in class com.github.kiprobinson.bigfraction.LongFraction
Returns a + b, represented as a LongFraction.

T

TEN - Static variable in class com.github.kiprobinson.bigfraction.BigFraction
The value 10/1.
TEN - Static variable in class com.github.kiprobinson.bigfraction.LongFraction
The value 10/1.
toBigDecimal() - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns a BigDecimal representation of this fraction.

If possible, the returned value will be exactly equal to the fraction.
toBigDecimal(int) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns a BigDecimal representation of this fraction, with a given precision.
toBigDecimal() - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns a BigDecimal representation of this fraction.

If possible, the returned value will be exactly equal to the fraction.
toBigDecimal(int) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns a BigDecimal representation of this fraction, with a given precision.
toDecimalString(int) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns decimal string representation of the fraction with the given number of decimal digits using roundingMode ROUND_HALF_UP.
toDecimalString(int, RoundingMode) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Converts the fraction to a string with the given number of decimal digits.
toDecimalString(int) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns decimal string representation of the fraction with the given number of decimal digits using roundingMode ROUND_HALF_UP.
toDecimalString(int, RoundingMode) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Converts the fraction to a string with the given number of decimal digits.
toMixedString() - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns string representation of this object as a mixed fraction.
toMixedString(int) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns string representation of this object as a mixed fraction.
toMixedString() - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns string representation of this object as a mixed fraction.
toMixedString(int) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns string representation of this object as a mixed fraction.
toRadixedString(int, int) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Converts the fraction to a radixed string with the given number of fraction digits after the radix point.
toRadixedString(int, int, RoundingMode) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Converts the fraction to a radixed string with the given number of fraction digits after the radix point.

For example, 1/8 in base 10 is 0.125.
toRadixedString(int, int) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Converts the fraction to a radixed string with the given number of fraction digits after the radix point.
toRadixedString(int, int, RoundingMode) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Converts the fraction to a radixed string with the given number of fraction digits after the radix point.

For example, 1/8 in base 10 is 0.125.
toRepeatingDigitString() - Method in class com.github.kiprobinson.bigfraction.BigFraction
Converts the fraction to a radixed string with repeating digits.
toRepeatingDigitString(boolean) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Converts the fraction to a radixed string with repeating digits.
toRepeatingDigitString(int) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Converts the fraction to a radixed string with repeating digits, in the given radix.
toRepeatingDigitString(int, boolean) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Converts the fraction to a radixed string with repeating digits, in the given radix.
toRepeatingDigitString() - Method in class com.github.kiprobinson.bigfraction.LongFraction
Converts the fraction to a radixed string with repeating digits.
toRepeatingDigitString(boolean) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Converts the fraction to a radixed string with repeating digits.
toRepeatingDigitString(int) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Converts the fraction to a radixed string with repeating digits, in the given radix.
toRepeatingDigitString(int, boolean) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Converts the fraction to a radixed string with repeating digits, in the given radix.
toString() - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns a string representation of this, in the form numerator/denominator.
toString(int) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns string representation of this, in the form of numerator/denominator, with numerator and denominator represented in the given radix.
toString(boolean) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns a string representation of this, in the form of numerator/denominator.
toString(int, boolean) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns string representation of this, in the form of numerator/denominator, with numerator and denominator represented in the given radix.
toString() - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns a string representation of this, in the form numerator/denominator.
toString(int) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns string representation of this, in the form of numerator/denominator, with numerator and denominator represented in the given radix.
toString(boolean) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns a string representation of this, in the form of numerator/denominator.
toString(int, boolean) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns string representation of this, in the form of numerator/denominator, with numerator and denominator represented in the given radix.

V

valueOf(Number) - Static method in class com.github.kiprobinson.bigfraction.BigFraction
Constructs a BigFraction from given number.
valueOf(Number, Number) - Static method in class com.github.kiprobinson.bigfraction.BigFraction
Constructs a BigFraction with given numerator and denominator.
valueOf(String) - Static method in class com.github.kiprobinson.bigfraction.BigFraction
Constructs a BigFraction from a String.
valueOf(String, int) - Static method in class com.github.kiprobinson.bigfraction.BigFraction
Constructs a BigFraction from a String.
valueOf(String) - Static method in enum com.github.kiprobinson.bigfraction.DivisionMode
Returns the enum constant of this type with the specified name.
valueOf(Number) - Static method in class com.github.kiprobinson.bigfraction.LongFraction
Constructs a LongFraction from given number.
valueOf(Number, Number) - Static method in class com.github.kiprobinson.bigfraction.LongFraction
Constructs a LongFraction with given numerator and denominator.
valueOf(String) - Static method in class com.github.kiprobinson.bigfraction.LongFraction
Constructs a LongFraction from a String.
valueOf(String, int) - Static method in class com.github.kiprobinson.bigfraction.LongFraction
Constructs a LongFraction from a String.
values() - Static method in enum com.github.kiprobinson.bigfraction.DivisionMode
Returns an array containing the constants of this enum type, in the order they are declared.

W

withSign(int) - Method in class com.github.kiprobinson.bigfraction.BigFraction
Returns this, with sign set to the sign of sgn parameter.
withSign(int) - Method in class com.github.kiprobinson.bigfraction.LongFraction
Returns this, with sign set to the sign of sgn parameter.

Z

ZERO - Static variable in class com.github.kiprobinson.bigfraction.BigFraction
The value 0/1.
ZERO - Static variable in class com.github.kiprobinson.bigfraction.LongFraction
The value 0/1.
A B C D E F G H I L M N O P Q R S T V W Z