Package | Description |
---|---|
fr.cnes.sirius.patrius.math.util |
Modifier and Type | Field and Description |
---|---|
static Decimal64 |
Decimal64.NAN
The constant value of
Double.NaN as a Decimal64 . |
static Decimal64 |
Decimal64.NEGATIVE_INFINITY
The constant value of
Double.NEGATIVE_INFINITY as a Decimal64 . |
static Decimal64 |
Decimal64.ONE
The constant value of
1d as a Decimal64 . |
static Decimal64 |
Decimal64.POSITIVE_INFINITY
The constant value of
Double.POSITIVE_INFINITY as a Decimal64 . |
static Decimal64 |
Decimal64.ZERO
The constant value of
0d as a Decimal64 . |
Modifier and Type | Method and Description |
---|---|
Decimal64 |
Decimal64.add(Decimal64 a)
Compute this + a.
|
Decimal64 |
Decimal64.divide(Decimal64 a)
Compute this ÷ a.
|
Decimal64 |
Decimal64Field.getOne()
Get the multiplicative identity of the field.
|
Decimal64 |
Decimal64Field.getZero()
Get the additive identity of the field.
|
Decimal64 |
Decimal64.multiply(Decimal64 a)
Compute this × a.
|
Decimal64 |
Decimal64.multiply(int n)
Compute n × this.
|
Decimal64 |
Decimal64.negate()
Returns the additive inverse of
this element. |
Decimal64 |
Decimal64.reciprocal()
Returns the multiplicative inverse of
this element. |
Decimal64 |
Decimal64.subtract(Decimal64 a)
Compute this - a.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
Decimal64 |
Decimal64.add(Decimal64 a)
Compute this + a.
|
int |
Decimal64.compareTo(Decimal64 o)
The current implementation returns the same value as
new Double(this.doubleValue()).compareTo(new
Double(o.doubleValue())) |
Decimal64 |
Decimal64.divide(Decimal64 a)
Compute this ÷ a.
|
Decimal64 |
Decimal64.multiply(Decimal64 a)
Compute this × a.
|
Decimal64 |
Decimal64.subtract(Decimal64 a)
Compute this - a.
|
Copyright © 2018 CNES. All Rights Reserved.