Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/lang/Math/
DFloatConsts.java47 public static final int EXP_BIT_MASK = jdk.internal.math.FloatConsts.EXP_BIT_MASK; field in FloatConsts
73 Assert.assertEquals((SIGN_BIT_MASK | EXP_BIT_MASK | SIGNIF_BIT_MASK), ~0); in testFloatConstants()
74 Assert.assertEquals((SIGN_BIT_MASK & EXP_BIT_MASK), 0); in testFloatConstants()
76 Assert.assertEquals((EXP_BIT_MASK & SIGNIF_BIT_MASK), 0); in testFloatConstants()
DDoubleConsts.java47 public static final long EXP_BIT_MASK = jdk.internal.math.DoubleConsts.EXP_BIT_MASK; field in DoubleConsts
73 Assert.assertEquals((SIGN_BIT_MASK | EXP_BIT_MASK | SIGNIF_BIT_MASK), ~0L); in testDoubleConstants()
74 Assert.assertEquals((SIGN_BIT_MASK & EXP_BIT_MASK), 0L); in testDoubleConstants()
76 Assert.assertEquals((EXP_BIT_MASK & SIGNIF_BIT_MASK), 0L); in testDoubleConstants()
DCubeRootTests.java118 DoubleConsts.EXP_BIT_MASK; in testCubeRoot()
121 DoubleConsts.EXP_BIT_MASK; in testCubeRoot()
DIeeeRecommendedTests.java69 & DoubleConsts.EXP_BIT_MASK); in powerOfTwoD()
78 & FloatConsts.EXP_BIT_MASK); in powerOfTwoF()
/libcore/ojluni/src/main/java/jdk/internal/math/
DFloatConsts.java99 public static final int EXP_BIT_MASK = field in FloatConsts
111 public static final int MAG_BIT_MASK = EXP_BIT_MASK | SIGNIF_BIT_MASK;
116 assert(((SIGN_BIT_MASK | EXP_BIT_MASK | SIGNIF_BIT_MASK) == ~0) &&
117 (((SIGN_BIT_MASK & EXP_BIT_MASK) == 0) &&
119 ((EXP_BIT_MASK & SIGNIF_BIT_MASK) == 0)) &&
DDoubleConsts.java103 public static final long EXP_BIT_MASK = field in DoubleConsts
115 public static final long MAG_BIT_MASK = EXP_BIT_MASK | SIGNIF_BIT_MASK;
120 assert(((SIGN_BIT_MASK | EXP_BIT_MASK | SIGNIF_BIT_MASK) == ~0L) &&
121 (((SIGN_BIT_MASK & EXP_BIT_MASK) == 0L) &&
123 ((EXP_BIT_MASK & SIGNIF_BIT_MASK) == 0L)) &&
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()
2383 floatBits |= FloatConsts.EXP_BIT_MASK; in parseHexString()
2433 & DoubleConsts.EXP_BIT_MASK) | in parseHexString()
2480 & DoubleConsts.EXP_BIT_MASK) | in parseHexString()
/libcore/ojluni/src/test/java/lang/Double/
DBitwiseConversionTest.java48 longBitsToDouble(DoubleConsts.EXP_BIT_MASK | y), in testNanCase()
49 longBitsToDouble(DoubleConsts.SIGN_BIT_MASK | DoubleConsts.EXP_BIT_MASK | y) in testNanCase()
/libcore/ojluni/src/test/java/lang/Float/
DBitwiseConversionTest.java48 intBitsToFloat(FloatConsts.EXP_BIT_MASK | y), in testNanCase()
49 intBitsToFloat(FloatConsts.SIGN_BIT_MASK | FloatConsts.EXP_BIT_MASK | y) in testNanCase()
/libcore/ojluni/src/main/java/java/lang/
DMath.java897 int biasedExp = (intBits & FloatConsts.EXP_BIT_MASK) in round()
947 long biasedExp = (longBits & DoubleConsts.EXP_BIT_MASK) in round()
3071 (DoubleConsts.EXP_BIT_MASK |
3099 (FloatConsts.EXP_BIT_MASK |
3127 return ((Float.floatToRawIntBits(f) & FloatConsts.EXP_BIT_MASK) >>
3155 return (int)(((Double.doubleToRawLongBits(d) & DoubleConsts.EXP_BIT_MASK) >>
3635 & DoubleConsts.EXP_BIT_MASK);
3645 & FloatConsts.EXP_BIT_MASK);
/libcore/ojluni/src/main/java/java/util/
DFormatter.java3813 = (doppel & (DoubleConsts.EXP_BIT_MASK