Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/sun/misc/
DFloatConsts.java96 public static final int EXP_BIT_MASK = 0x7F800000; field in FloatConsts
107 assert(((SIGN_BIT_MASK | EXP_BIT_MASK | SIGNIF_BIT_MASK) == ~0) &&
108 (((SIGN_BIT_MASK & EXP_BIT_MASK) == 0) &&
110 ((EXP_BIT_MASK & SIGNIF_BIT_MASK) == 0)));
DDoubleConsts.java101 public static final long EXP_BIT_MASK = 0x7FF0000000000000L; field in DoubleConsts
112 assert(((SIGN_BIT_MASK | EXP_BIT_MASK | SIGNIF_BIT_MASK) == ~0L) &&
113 (((SIGN_BIT_MASK & EXP_BIT_MASK) == 0L) &&
115 ((EXP_BIT_MASK & SIGNIF_BIT_MASK) == 0L)));
DFpUtils.java147 return (int)(((Double.doubleToRawLongBits(d) & DoubleConsts.EXP_BIT_MASK) >> in getExponent()
160 return ((Float.floatToRawIntBits(f) & FloatConsts.EXP_BIT_MASK) >> in getExponent()
171 & DoubleConsts.EXP_BIT_MASK); in powerOfTwoD()
181 & FloatConsts.EXP_BIT_MASK); in powerOfTwoF()
203 (DoubleConsts.EXP_BIT_MASK | in rawCopySign()
226 (FloatConsts.EXP_BIT_MASK | in rawCopySign()
DFloatingDecimal.java823 … int exponent = (int)((dBits & DoubleConsts.EXP_BIT_MASK) >> EXP_SHIFT) - DoubleConsts.EXP_BIAS;
1381 … if (ieeeBits == 0 || ieeeBits == DoubleConsts.EXP_BIT_MASK) { // 0.0 or Double.POSITIVE_INFINITY
1687 … if (ieeeBits == 0 || ieeeBits == FloatConsts.EXP_BIT_MASK) { // 0.0 or Float.POSITIVE_INFINITY in floatValue()
1753 int binExp = (int)( (dBits&DoubleConsts.EXP_BIT_MASK) >> EXP_SHIFT ); in getBinaryToASCIIConverter()
1755 if ( binExp == (int)(DoubleConsts.EXP_BIT_MASK>>EXP_SHIFT) ) { in getBinaryToASCIIConverter()
1793 int binExp = (fBits&FloatConsts.EXP_BIT_MASK) >> SINGLE_EXP_SHIFT; in getBinaryToASCIIConverter()
1795 if ( binExp == (FloatConsts.EXP_BIT_MASK>>SINGLE_EXP_SHIFT) ) { in getBinaryToASCIIConverter()
2372 floatBits |= FloatConsts.EXP_BIT_MASK; in parseHexString()
2422 & DoubleConsts.EXP_BIT_MASK) | in parseHexString()
2469 & DoubleConsts.EXP_BIT_MASK) | in parseHexString()
/libcore/ojluni/src/main/java/java/lang/
DMath.java650 int biasedExp = (intBits & FloatConsts.EXP_BIT_MASK) in round()
699 long biasedExp = (longBits & DoubleConsts.EXP_BIT_MASK) in round()
1774 (DoubleConsts.EXP_BIT_MASK | in copySign()
1797 (FloatConsts.EXP_BIT_MASK | in copySign()
1821 return ((Float.floatToRawIntBits(f) & FloatConsts.EXP_BIT_MASK) >> in getExponent()
1845 return (int)(((Double.doubleToRawLongBits(d) & DoubleConsts.EXP_BIT_MASK) >> in getExponent()
2363 & DoubleConsts.EXP_BIT_MASK); in powerOfTwoD()
2373 & FloatConsts.EXP_BIT_MASK); in powerOfTwoF()
DFloat.java748 if ( ((result & FloatConsts.EXP_BIT_MASK) == in floatToIntBits()
749 FloatConsts.EXP_BIT_MASK) && in floatToIntBits()
DDouble.java840 if ( ((result & DoubleConsts.EXP_BIT_MASK) == in doubleToLongBits()
841 DoubleConsts.EXP_BIT_MASK) && in doubleToLongBits()
/libcore/ojluni/src/main/java/java/util/
DFormatter.java3572 = (doppel & (DoubleConsts.EXP_BIT_MASK