Package | Description |
---|---|
net.sf.jaccumulator.primitives | |
net.sf.jaccumulator.reals | |
net.sf.jaccumulator.scalars |
Modifier and Type | Method and Description |
---|---|
NumericPrecision |
AbstractPrimitiveWrapper.getPrecision() |
Modifier and Type | Method and Description |
---|---|
Variant |
Variant.assertPrecision(NumericPrecision prec) |
PRIMITIVE |
AbstractPrimitiveWrapper.assertPrecision(NumericPrecision prec) |
Variant |
Variant.promoteTo(NumericPrecision prec) |
PRIMITIVE |
AbstractPrimitiveWrapper.promoteTo(NumericPrecision prec) |
static Primitive<?> |
Variant.toPrimitive(NumericPrecision prec) |
Constructor and Description |
---|
AbstractConstant(Domain aDomain,
NumericPrecision aPrecision) |
AbstractConstant(NumericPrecision aPrecision) |
AbstractNumericPrimitive(Domain aDomain,
NumericPrecision aPrecision) |
AbstractNumericPrimitive(NumericPrecision aPrecision) |
AbstractPrimitive(Domain aDomain,
NumericPrecision aPrecision) |
AbstractPrimitive(NumericPrecision aPrecision) |
Constant(Domain aDomain,
NumericPrecision aPrecision,
boolean aBoolean,
Boolean aBooleanObject,
byte aByte,
char aCharacter,
Character aCharacterObject,
double aDouble,
float aFloat,
int anInteger,
long aLong,
Number aNumber,
short aShort,
String aString,
BigDecimal anUnlimitedDecimal,
BigInteger anUnlimitedInteger,
int aHashCode,
int aSignum,
boolean isInfinity,
boolean isInvalid,
boolean isMaximum,
boolean isMinimum,
boolean isNegative,
boolean isNegativeInfinity,
boolean isPositive,
boolean isPositiveInfinity,
boolean isUnity,
boolean isZero) |
Constant(NumericPrecision aPrecision,
boolean aBoolean,
Boolean aBooleanObject,
byte aByte,
char aCharacter,
Character aCharacterObject,
double aDouble,
float aFloat,
int anInteger,
long aLong,
Number aNumber,
short aShort,
String aString,
BigDecimal anUnlimitedDecimal,
BigInteger anUnlimitedInteger,
int aHashCode,
int aSignum,
boolean isInfinity,
boolean isInvalid,
boolean isMaximum,
boolean isMinimum,
boolean isNegative,
boolean isNegativeInfinity,
boolean isPositive,
boolean isPositiveInfinity,
boolean isUnity,
boolean isZero) |
Constant(NumericPrecision aPrecision,
double aDouble,
BigDecimal ud) |
Constant(NumericPrecision aPrecision,
double aDouble,
BigDecimal ud,
String aString) |
Constant(NumericPrecision aPrecision,
double aDouble,
float aFloat,
BigDecimal ud,
String aString) |
Constructor and Description |
---|
AbstractReal(Domain aDomain,
NumericPrecision aPrecision) |
AbstractReal(NumericPrecision aPrecision) |
Modifier and Type | Field and Description |
---|---|
static NumericPrecision |
NumericPrecision.MAXIMUM |
static NumericPrecision |
NumericPrecision.MINIMUM |
Modifier and Type | Method and Description |
---|---|
NumericPrecision |
SealedScalarDomain.getPrecision() |
NumericPrecision |
AbstractScalar.getPrecision() |
static NumericPrecision |
NumericPrecision.getPrecisionFor(Class<?> aClass) |
static NumericPrecision |
NumericPrecision.getPrecisionFor(Object aValue) |
NumericPrecision |
NumericPrecision.maximumOf(NumericPrecision prec) |
NumericPrecision |
NumericPrecision.maximumOfAll(NumericPrecision... precisions) |
abstract NumericPrecision |
NumericPrecision.promote() |
abstract NumericPrecision |
NumericPrecision.promoteAgainst(NumericPrecision prec)
Answer a precision value such that any mathematical operation between
values of this precision and those of the specified one will not result
in a loss of information.
|
abstract NumericPrecision |
NumericPrecision.toFloatingPoint() |
static NumericPrecision |
NumericPrecision.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NumericPrecision[] |
NumericPrecision.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
DOMAIN |
MutableScalarDomain.assertPrecision(NumericPrecision prec)
Convert the numeric
precision of this
implementation to the closest available match for the proposed precision. |
SCALAR |
AbstractScalar.assertPrecision(NumericPrecision prec) |
abstract int |
NumericPrecision.compare(NumericPrecision prec)
Primitive1 this precision against
another. |
int |
PrecisionComparator.compare(NumericPrecision prec1,
NumericPrecision prec2) |
abstract boolean |
NumericPrecision.isEquallyPreciseAs(NumericPrecision prec) |
boolean |
NumericPrecision.isLessOrEquallyPreciseAs(NumericPrecision prec) |
abstract boolean |
NumericPrecision.isLessPreciseThan(NumericPrecision prec) |
boolean |
NumericPrecision.isMoreOrEquallyPreciseAs(NumericPrecision prec) |
abstract boolean |
NumericPrecision.isMorePreciseThan(NumericPrecision prec) |
NumericPrecision |
NumericPrecision.maximumOf(NumericPrecision prec) |
NumericPrecision |
NumericPrecision.maximumOfAll(NumericPrecision... precisions) |
abstract NumericPrecision |
NumericPrecision.promoteAgainst(NumericPrecision prec)
Answer a precision value such that any mathematical operation between
values of this precision and those of the specified one will not result
in a loss of information.
|
DOMAIN |
MutableScalarDomain.promoteTo(NumericPrecision prec)
If this object's implementation is less
precise
than the specified numeric precision, then convert this implementation to
the closest available match for the proposed precision. |
SCALAR |
AbstractScalar.promoteTo(NumericPrecision prec) |
Constructor and Description |
---|
AbstractScalar(Domain aDomain,
NumericPrecision aPrecision) |
Copyright © 2006-2012 Ware-Squared Software Development. All Rights Reserved.