## Uses of Classorg.apfloat.Aprational

• Packages that use Aprational
Package Description
org.apfloat
The apfloat Application Programming Interface (API).
org.apfloat.jscience
JScience wrapper for apfloat.
• ### Uses of Aprational in org.apfloat

Subclasses of Aprational in org.apfloat
Modifier and Type Class and Description
`class ` `Apint`
Arbitrary precision integer class.
Methods in org.apfloat that return Aprational
Modifier and Type Method and Description
`static Aprational` AprationalMath.`abs(Aprational x)`
Absolute value.
`Aprational` Aprational.`add(Aprational x)`
`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.
`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.
`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 and Description
`static Aprational` AprationalMath.`abs(Aprational x)`
Absolute value.
`Aprational` Aprational.`add(Aprational x)`
`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.
`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.
`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.
• ### Uses of Aprational in org.apfloat.jscience

Constructors in org.apfloat.jscience with parameters of type Aprational
Constructor and Description
`AprationalField(Aprational value)`
Constructs a new rational field object with the specified value.