# Uses of Class
org.apache.commons.math3.util.Decimal64

Packages that use Decimal64
Package
Description
org.apache.commons.math3.util
Convenience routines and common data structures used throughout the commons-math library.

## Uses of Decimal64 in org.apache.commons.math3.util

Fields in org.apache.commons.math3.util declared as Decimal64
Modifier and Type
Field
Description
`static final Decimal64`
Decimal64.`NAN`
The constant value of `Double.NaN` as a `Decimal64`.
`static final Decimal64`
Decimal64.`NEGATIVE_INFINITY`
The constant value of `Double.NEGATIVE_INFINITY` as a `Decimal64`.
`static final Decimal64`
Decimal64.`ONE`
The constant value of `1d` as a `Decimal64`.
`static final Decimal64`
Decimal64.`POSITIVE_INFINITY`
The constant value of `Double.POSITIVE_INFINITY` as a `Decimal64`.
`static final Decimal64`
Decimal64.`ZERO`
The constant value of `0d` as a `Decimal64`.
Methods in org.apache.commons.math3.util that return Decimal64
Modifier and Type
Method
Description
`Decimal64`
Decimal64.`abs()`
absolute value.
`Decimal64`
Decimal64.`acos()`
Arc cosine operation.
`Decimal64`
Decimal64.`acosh()`
Inverse hyperbolic cosine operation.
`Decimal64`
Decimal64.`add(double a)`
'+' operator.
`Decimal64`
Decimal64.`add(Decimal64 a)`
Compute this + a.
`Decimal64`
Decimal64.`asin()`
Arc sine operation.
`Decimal64`
Decimal64.`asinh()`
Inverse hyperbolic sine operation.
`Decimal64`
Decimal64.`atan()`
Arc tangent operation.
`Decimal64`
Decimal64.`atan2(Decimal64 x)`
Two arguments arc tangent operation.
`Decimal64`
Decimal64.`atanh()`
Inverse hyperbolic tangent operation.
`Decimal64`
Decimal64.`cbrt()`
Cubic root.
`Decimal64`
Decimal64.`ceil()`
Get the smallest whole number larger than instance.
`Decimal64`
Decimal64.`copySign(double sign)`
Returns the instance with the sign of the argument.
`Decimal64`
Decimal64.`copySign(Decimal64 sign)`
Returns the instance with the sign of the argument.
`Decimal64`
Decimal64.`cos()`
Cosine operation.
`Decimal64`
Decimal64.`cosh()`
Hyperbolic cosine operation.
`Decimal64`
Decimal64.`divide(double a)`
'÷' operator.
`Decimal64`
Decimal64.`divide(Decimal64 a)`
Compute this ÷ a.
`Decimal64`
Decimal64.`exp()`
Exponential.
`Decimal64`
Decimal64.`expm1()`
Exponential minus 1.
`Decimal64`
Decimal64.`floor()`
Get the largest whole number smaller than instance.
`Decimal64`
Decimal64Field.`getOne()`
Get the multiplicative identity of the field.
`Decimal64`
Decimal64Field.`getZero()`
Get the additive identity of the field.
`Decimal64`
Decimal64.`hypot(Decimal64 y)`
Returns the hypotenuse of a triangle with sides `this` and `y` - sqrt(this2 +y2) avoiding intermediate overflow or underflow.
`Decimal64`
Decimal64.`linearCombination(double[] a, Decimal64[] b)`
Compute a linear combination.
`Decimal64`
Decimal64.`linearCombination(double a1, Decimal64 b1, double a2, Decimal64 b2)`
Compute a linear combination.
`Decimal64`
Decimal64.`linearCombination(double a1, Decimal64 b1, double a2, Decimal64 b2, double a3, Decimal64 b3)`
Compute a linear combination.
`Decimal64`
Decimal64.`linearCombination(double a1, Decimal64 b1, double a2, Decimal64 b2, double a3, Decimal64 b3, double a4, Decimal64 b4)`
Compute a linear combination.
`Decimal64`
Decimal64.`linearCombination(Decimal64[] a, Decimal64[] b)`
Compute a linear combination.
`Decimal64`
Decimal64.`linearCombination(Decimal64 a1, Decimal64 b1, Decimal64 a2, Decimal64 b2)`
Compute a linear combination.
`Decimal64`
Decimal64.`linearCombination(Decimal64 a1, Decimal64 b1, Decimal64 a2, Decimal64 b2, Decimal64 a3, Decimal64 b3)`
Compute a linear combination.
`Decimal64`
Decimal64.`linearCombination(Decimal64 a1, Decimal64 b1, Decimal64 a2, Decimal64 b2, Decimal64 a3, Decimal64 b3, Decimal64 a4, Decimal64 b4)`
Compute a linear combination.
`Decimal64`
Decimal64.`log()`
Natural logarithm.
`Decimal64`
Decimal64.`log10()`
Base 10 logarithm.
`Decimal64`
Decimal64.`log1p()`
Shifted natural logarithm.
`Decimal64`
Decimal64.`multiply(double a)`
'×' operator.
`Decimal64`
Decimal64.`multiply(int n)`
Compute n × this.
`Decimal64`
Decimal64.`multiply(Decimal64 a)`
Compute this × a.
`Decimal64`
Decimal64.`negate()`
Returns the additive inverse of `this` element.
`Decimal64`
Decimal64.`pow(double p)`
Power operation.
`Decimal64`
Decimal64.`pow(int n)`
Integer power operation.
`Decimal64`
Decimal64.`pow(Decimal64 e)`
Power operation.
`Decimal64`
Decimal64.`reciprocal()`
Returns the multiplicative inverse of `this` element.
`Decimal64`
Decimal64.`remainder(double a)`
IEEE remainder operator.
`Decimal64`
Decimal64.`remainder(Decimal64 a)`
IEEE remainder operator.
`Decimal64`
Decimal64.`rint()`
Get the whole number that is the nearest to the instance, or the even one if x is exactly half way between two integers.
`Decimal64`
Decimal64.`rootN(int n)`
Nth root.
`Decimal64`
Decimal64.`scalb(int n)`
Multiply the instance by a power of 2.
`Decimal64`
Decimal64.`signum()`
Compute the signum of the instance.
`Decimal64`
Decimal64.`sin()`
Sine operation.
`Decimal64`
Decimal64.`sinh()`
Hyperbolic sine operation.
`Decimal64`
Decimal64.`sqrt()`
Square root.
`Decimal64`
Decimal64.`subtract(double a)`
'-' operator.
`Decimal64`
Decimal64.`subtract(Decimal64 a)`
Compute this - a.
`Decimal64`
Decimal64.`tan()`
Tangent operation.
`Decimal64`
Decimal64.`tanh()`
Hyperbolic tangent operation.
Methods in org.apache.commons.math3.util that return types with arguments of type Decimal64
Modifier and Type
Method
Description
`Field<Decimal64>`
Decimal64.`getField()`
Get the `Field` to which the instance belongs.
`Class<? extends FieldElement<Decimal64>>`
Decimal64Field.`getRuntimeClass()`
Returns the runtime class of the FieldElement.
Methods in org.apache.commons.math3.util with parameters of type Decimal64
Modifier and Type
Method
Description
`Decimal64`
Decimal64.`add(Decimal64 a)`
Compute this + a.
`Decimal64`
Decimal64.`atan2(Decimal64 x)`
Two arguments arc tangent operation.
`int`
Decimal64.`compareTo(Decimal64 o)`
The current implementation returns the same value as `new Double(this.doubleValue()).compareTo(new Double(o.doubleValue()))`
`Decimal64`
Decimal64.`copySign(Decimal64 sign)`
Returns the instance with the sign of the argument.
`Decimal64`
Decimal64.`divide(Decimal64 a)`
Compute this ÷ a.
`Decimal64`
Decimal64.`hypot(Decimal64 y)`
Returns the hypotenuse of a triangle with sides `this` and `y` - sqrt(this2 +y2) avoiding intermediate overflow or underflow.
`Decimal64`
Decimal64.`linearCombination(double[] a, Decimal64[] b)`
Compute a linear combination.
`Decimal64`
Decimal64.`linearCombination(double a1, Decimal64 b1, double a2, Decimal64 b2)`
Compute a linear combination.
`Decimal64`
Decimal64.`linearCombination(double a1, Decimal64 b1, double a2, Decimal64 b2, double a3, Decimal64 b3)`
Compute a linear combination.
`Decimal64`
Decimal64.`linearCombination(double a1, Decimal64 b1, double a2, Decimal64 b2, double a3, Decimal64 b3, double a4, Decimal64 b4)`
Compute a linear combination.
`Decimal64`
Decimal64.`linearCombination(Decimal64[] a, Decimal64[] b)`
Compute a linear combination.
`Decimal64`
Decimal64.`linearCombination(Decimal64 a1, Decimal64 b1, Decimal64 a2, Decimal64 b2)`
Compute a linear combination.
`Decimal64`
Decimal64.`linearCombination(Decimal64 a1, Decimal64 b1, Decimal64 a2, Decimal64 b2, Decimal64 a3, Decimal64 b3)`
Compute a linear combination.
`Decimal64`
Decimal64.`linearCombination(Decimal64 a1, Decimal64 b1, Decimal64 a2, Decimal64 b2, Decimal64 a3, Decimal64 b3, Decimal64 a4, Decimal64 b4)`
Compute a linear combination.
`Decimal64`
Decimal64.`multiply(Decimal64 a)`
Compute this × a.
`Decimal64`
Decimal64.`pow(Decimal64 e)`
Power operation.
`Decimal64`
Decimal64.`remainder(Decimal64 a)`
IEEE remainder operator.
`Decimal64`
Decimal64.`subtract(Decimal64 a)`
Compute this - a.