Home
last modified time | relevance | path

Searched refs:dBits (Results 1 – 1 of 1) sorted by relevance

/libcore/ojluni/src/main/java/sun/misc/
DFloatingDecimal.java822 long dBits = Double.doubleToRawLongBits(d); //can't be NaN here so use raw
823 … int exponent = (int)((dBits & DoubleConsts.EXP_BIT_MASK) >> EXP_SHIFT) - DoubleConsts.EXP_BIAS;
824 boolean isNegative = (dBits & DoubleConsts.SIGN_BIT_MASK) != 0; // discover sign
827 … int r = (int)(( (dBits&DoubleConsts.SIGNIF_BIT_MASK) | FRACT_HOB )>>(EXP_SHIFT-exponent));
828 return isNegative ? (((mask & dBits) == 0L ) ? -r : -r-1 ) : r;
830 return (((dBits&~DoubleConsts.SIGN_BIT_MASK) == 0) ? 0 :
1750 long dBits = Double.doubleToRawLongBits(d); in getBinaryToASCIIConverter() local
1751 boolean isNegative = (dBits&DoubleConsts.SIGN_BIT_MASK) != 0; // discover sign in getBinaryToASCIIConverter()
1752 long fractBits = dBits & DoubleConsts.SIGNIF_BIT_MASK; in getBinaryToASCIIConverter()
1753 int binExp = (int)( (dBits&DoubleConsts.EXP_BIT_MASK) >> EXP_SHIFT ); in getBinaryToASCIIConverter()