static Apint |
ApintMath.abs(Apint x) |
Absolute value.
|
Apint |
Apint.add(Apint x) |
Adds two apints.
|
static Apint[] |
ApintMath.cbrt(Apint x) |
Cube root and remainder.
|
Apint |
Apfloat.ceil() |
Ceiling function.
|
static Apint |
ApfloatMath.ceil(Apfloat x) |
Ceiling function.
|
Apint |
Apint.ceil() |
Ceiling function.
|
Apint |
Aprational.ceil() |
Ceiling function.
|
static Apint |
ApintMath.copySign(Apint x,
Apint y) |
Copy sign from one argument to another.
|
Apint |
Apint.denominator() |
Denominator of this aprational.
|
Apint |
Aprational.denominator() |
Denominator of this aprational.
|
static Apint[] |
ApintMath.div(Apint x,
Apint y) |
Quotient and remainder.
|
Apint |
Apint.divide(Apint x) |
Divides two apints.
|
static Apint |
ApintMath.factorial(long n) |
Factorial function.
|
static Apint |
ApintMath.factorial(long n,
int radix) |
Factorial function.
|
Apint |
Apfloat.floor() |
Floor function.
|
static Apint |
ApfloatMath.floor(Apfloat x) |
Floor function.
|
Apint |
Apint.floor() |
Floor function.
|
Apint |
Aprational.floor() |
Floor function.
|
Apint |
Apint.frac() |
Returns the fractional part.
|
static Apint |
ApintMath.gcd(Apint a,
Apint b) |
Greatest common divisor.
|
static Apint |
ApintMath.lcm(Apint a,
Apint b) |
Least common multiple.
|
static Apint |
ApintMath.max(Apint x,
Apint y) |
Returns the greater of the two values.
|
static Apint |
ApintMath.min(Apint x,
Apint y) |
Returns the smaller of the two values.
|
Apint |
Apint.mod(Apint x) |
Calculates the remainder when divided by an apint.
|
static Apint |
ApintMath.modMultiply(Apint a,
Apint b,
Apint m) |
Modular multiplication.
|
static Apint |
ApintMath.modPow(Apint a,
Apint b,
Apint m) |
Modular power.
|
Apint |
Apint.multiply(Apint x) |
Multiplies two apints.
|
Apint |
Apint.negate() |
Negative value.
|
static Apint |
ApintMath.negate(Apint x) |
Deprecated.
|
Apint |
Apint.numerator() |
Numerator of this aprational.
|
Apint |
Aprational.numerator() |
Numerator of this aprational.
|
static Apint |
ApintMath.pow(Apint x,
long n) |
Integer power.
|
static Apint |
ApintMath.product(Apint... x) |
Product of numbers.
|
static Apint |
ApintMath.random(long digits) |
Generates a random number.
|
static Apint |
ApintMath.random(long digits,
int radix) |
Generates a random number.
|
static Apint[] |
ApintMath.root(Apint x,
long n) |
Positive integer root and remainder.
|
static Apint |
ApintMath.scale(Apint x,
long scale) |
Multiply by a power of the radix.
|
static Apint[] |
ApintMath.sqrt(Apint x) |
Square root and remainder.
|
Apint |
Apint.subtract(Apint x) |
Subtracts two apints.
|
static Apint |
ApintMath.sum(Apint... x) |
Sum of numbers.
|
Apint |
Apint.toRadix(int radix) |
Convert this apint to the specified radix.
|
Apint |
Apfloat.truncate() |
Truncates fractional part.
|
static Apint |
ApfloatMath.truncate(Apfloat x) |
Truncates fractional part.
|
Apint |
Apint.truncate() |
Truncates fractional part.
|
Apint |
Aprational.truncate() |
Truncates fractional part.
|