BigFraction
.BigInteger
,
returning the result in reduced form.integer
, returning
the result in reduced form.long
, returning
the result in reduced form.BigDecimal
.BigDecimal
following the passed
rounding mode.BigDecimal
following the passed scale
and rounding mode.BigInteger
,
ie this * 1 / bg
, returning the result in reduced form.int
, ie
this * 1 / i
, returning the result in reduced form.long
, ie
this * 1 / l
, returning the result in reduced form.double
.double
value closest to this fraction.float
.float
value closest to this fraction.n
-th "a" coefficient of the continued fraction.n
-th "b" coefficient of the continued fraction.BigInteger
.int
.long
.BigInteger
.int
.long
.int
.long
.BigInteger
, returning the result in reduced form.int
, returning
the result in reduced form.long
,
returning the result in reduced form.BigFraction
equivalent to the passed BigInteger
, ie
"num / 1".BigFraction
given the numerator and denominator as
BigInteger
.BigFraction
equivalent to the passed int
, ie
"num / 1".BigFraction
given the numerator and denominator as simple
int
.BigFraction
equivalent to the passed long, ie "num / 1".BigFraction
given the numerator and denominator as simple
long
.BigFraction.toString()
and instantiates the corresponding object.Fraction.toString()
and instantiates the corresponding object.BigFraction
whose value is
(this<sup>exponent</sup>)
, returning the result in reduced form.BigFraction
whose value is
\(\mathit{this}^{\mathit{exponent}}\), returning the result in reduced form.BigFraction
whose value is
\(\mathit{this}^{\mathit{exponent}}\), returning the result in reduced form.double
whose value is
\(\mathit{this}^{\mathit{exponent}}\), returning the result in reduced form.BigInteger
from the value of this
BigFraction
, returning the result in reduced form.integer
from the value of this
BigFraction
, returning the result in reduced form.long
from the value of this
BigFraction
, returning the result in reduced form.String
representing this fraction, ie
"num / dem" or just "num" if the denominator is one.Copyright © 2017–2020 The Apache Software Foundation. All rights reserved.