Uses of Class
org.apfloat.Aprational
-
Packages that use Aprational Package Description org.apfloat The apfloat Application Programming Interface (API). -
-
Uses of Aprational in org.apfloat
Subclasses of Aprational in org.apfloat Modifier and Type Class Description class
Apint
Arbitrary precision integer class.Methods in org.apfloat that return Aprational Modifier and Type Method Description static Aprational
AprationalMath. abs(Aprational x)
Absolute value.Aprational
Aprational. add(Aprational x)
Adds two aprational numbers.static Aprational
AprationalMath. copySign(Aprational x, Aprational y)
Copy sign from one argument to another.Aprational
Aprational. divide(Aprational x)
Divides two aprational numbers.Aprational
Aprational. frac()
Returns the fractional part.static Aprational
AprationalMath. max(Aprational x, Aprational y)
Returns the greater of the two values.static Aprational
AprationalMath. min(Aprational x, Aprational y)
Returns the smaller of the two values.Aprational
Aprational. mod(Aprational x)
Calculates the remainder when divided by an aprational.Aprational
Aprational. multiply(Aprational x)
Multiplies two aprational numbers.Aprational
Aprational. negate()
Negative value.static Aprational
AprationalMath. negate(Aprational x)
Deprecated.Usenegate()
.static Aprational
AprationalMath. pow(Aprational x, long n)
Integer power.static Aprational
AprationalMath. product(Aprational... x)
Product of numbers.static Aprational
AprationalMath. scale(Aprational x, long scale)
Multiply by a power of the radix.Aprational
Aprational. subtract(Aprational x)
Subtracts two aprational numbers.static Aprational
AprationalMath. sum(Aprational... x)
Sum of numbers.Aprational
Aprational. toRadix(int radix)
Convert this aprational to the specified radix.Methods in org.apfloat with parameters of type Aprational Modifier and Type Method Description static Aprational
AprationalMath. abs(Aprational x)
Absolute value.Aprational
Aprational. add(Aprational x)
Adds two aprational numbers.int
Apint. compareTo(Aprational x)
Compare this apint to the specified aprational.int
Aprational. compareTo(Aprational x)
Compare this aprational to the specified aprational.static Aprational
AprationalMath. copySign(Aprational x, Aprational y)
Copy sign from one argument to another.Aprational
Aprational. divide(Aprational x)
Divides two aprational numbers.static Aprational
AprationalMath. max(Aprational x, Aprational y)
Returns the greater of the two values.static Aprational
AprationalMath. min(Aprational x, Aprational y)
Returns the smaller of the two values.Aprational
Aprational. mod(Aprational x)
Calculates the remainder when divided by an aprational.Aprational
Aprational. multiply(Aprational x)
Multiplies two aprational numbers.static Aprational
AprationalMath. negate(Aprational x)
Deprecated.Usenegate()
.static Aprational
AprationalMath. pow(Aprational x, long n)
Integer power.static Aprational
AprationalMath. product(Aprational... x)
Product of numbers.static Apfloat
AprationalMath. round(Aprational x, long precision, RoundingMode roundingMode)
Rounds the given number to the specified precision with the specified rounding mode.static Aprational
AprationalMath. scale(Aprational x, long scale)
Multiply by a power of the radix.Aprational
Aprational. subtract(Aprational x)
Subtracts two aprational numbers.static Aprational
AprationalMath. sum(Aprational... x)
Sum of numbers.
-