Modifier and Type | Field and Description |
---|---|
static BasicRationalNumber |
BasicRationalNumber.MINUS_ONE_HALF
Cached instance that represents the number minus one half, -1/2.
|
static BasicRationalNumber |
BasicRationalNumber.ONE_HALF
Cached instance that represents the number one half, 1/2.
|
Modifier and Type | Method and Description |
---|---|
static BasicRationalNumber |
BasicRationalNumber.createInstance(IntegerNumber numerator,
IntegerNumber denominator)
Returns an instance of a
BasicRationalNumber with the
given numerator and denominator. |