Package | Description |
---|---|
org.hipparchus.dfp |
Decimal floating point library for Java
|
Modifier and Type | Method and Description |
---|---|
DfpField |
DfpField.getExtendedField(int digitsFactor,
boolean computeConstants)
Get extended field for accuracy conversion.
|
DfpField |
Dfp.getField()
|
Modifier and Type | Method and Description |
---|---|
Dfp |
Dfp.newInstance(DfpField targetField,
DfpField.RoundingMode rmode)
Creates an instance by converting the instance to a different field (i.e.
|
protected static Dfp[] |
DfpMath.split(DfpField field,
String a)
Breaks a string representation up into two dfp's.
|
Constructor and Description |
---|
Dfp(DfpField field)
Makes an instance with a value of zero.
|
Dfp(DfpField field,
byte x)
Create an instance from a byte value.
|
Dfp(DfpField field,
byte sign,
byte nans)
Creates an instance with a non-finite value.
|
Dfp(DfpField field,
double x)
Create an instance from a double value.
|
Dfp(DfpField field,
int x)
Create an instance from an int value.
|
Dfp(DfpField field,
long x)
Create an instance from a long value.
|
Dfp(DfpField field,
String s)
Create an instance from a String representation.
|
DfpDec(DfpField factory)
Makes an instance with a value of zero.
|
DfpDec(DfpField factory,
byte x)
Create an instance from a byte value.
|
DfpDec(DfpField factory,
byte sign,
byte nans)
Creates an instance with a non-finite value.
|
DfpDec(DfpField factory,
double x)
Create an instance from a double value.
|
DfpDec(DfpField factory,
int x)
Create an instance from an int value.
|
DfpDec(DfpField factory,
long x)
Create an instance from a long value.
|
DfpDec(DfpField factory,
String s)
Create an instance from a String representation.
|
Copyright © 2016-2021 CS GROUP. All rights reserved.