mondrian.util
Class Format.FloatingDecimal
java.lang.Object
mondrian.util.Format.FloatingDecimal
- Enclosing class:
- Format
static class Format.FloatingDecimal
- extends Object
Copied from java.lang.FloatingDecimal
.
-
-
isExceptional
boolean isExceptional
isNegative
boolean isNegative
decExponent
int decExponent
digits
char[] digits
nDigits
int nDigits
signMask
static final long signMask
- See Also:
- Constant Field Values
expMask
static final long expMask
- See Also:
- Constant Field Values
fractMask
static final long fractMask
- See Also:
- Constant Field Values
expShift
static final int expShift
- See Also:
- Constant Field Values
expBias
static final int expBias
- See Also:
- Constant Field Values
fractHOB
static final long fractHOB
- See Also:
- Constant Field Values
expOne
static final long expOne
- See Also:
- Constant Field Values
maxSmallBinExp
static final int maxSmallBinExp
- See Also:
- Constant Field Values
minSmallBinExp
static final int minSmallBinExp
- See Also:
- Constant Field Values
highbyte
static final long highbyte
- See Also:
- Constant Field Values
highbit
static final long highbit
- See Also:
- Constant Field Values
lowbytes
static final long lowbytes
- See Also:
- Constant Field Values
singleSignMask
static final int singleSignMask
- See Also:
- Constant Field Values
singleExpMask
static final int singleExpMask
- See Also:
- Constant Field Values
singleFractMask
static final int singleFractMask
- See Also:
- Constant Field Values
singleExpShift
static final int singleExpShift
- See Also:
- Constant Field Values
singleFractHOB
static final int singleFractHOB
- See Also:
- Constant Field Values
singleExpBias
static final int singleExpBias
- See Also:
- Constant Field Values
Format.FloatingDecimal
public Format.FloatingDecimal(double d)
Format.FloatingDecimal
public Format.FloatingDecimal(float f)
Format.FloatingDecimal
public Format.FloatingDecimal(long n)
toString
public String toString()
- Overrides:
toString
in class Object
toJavaFormatString
public String toJavaFormatString()
shift
public void shift(int i)
toJavaFormatString
public String toJavaFormatString(int minDigitsLeftOfDecimal,
char decimalChar,
int minDigitsRightOfDecimal,
int maxDigitsRightOfDecimal,
char expChar,
boolean expSign,
int minExpDigits,
char thousandChar)