Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/lang/Math/
DFloatConsts.java52 public static final int SIGN_BIT_MASK = jdk.internal.math.FloatConsts.SIGN_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()
75 Assert.assertEquals((SIGN_BIT_MASK & SIGNIF_BIT_MASK), 0); in testFloatConstants()
DDoubleConsts.java52 public static final long SIGN_BIT_MASK = jdk.internal.math.DoubleConsts.SIGN_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()
75 Assert.assertEquals((SIGN_BIT_MASK & SIGNIF_BIT_MASK), 0L); in testDoubleConstants()
/libcore/ojluni/src/main/java/jdk/internal/math/
DFloatConsts.java94 public static final int SIGN_BIT_MASK = 1 << (SIZE - 1); field in FloatConsts
116 assert(((SIGN_BIT_MASK | EXP_BIT_MASK | SIGNIF_BIT_MASK) == ~0) &&
117 (((SIGN_BIT_MASK & EXP_BIT_MASK) == 0) &&
118 ((SIGN_BIT_MASK & SIGNIF_BIT_MASK) == 0) &&
120 ((SIGN_BIT_MASK | MAG_BIT_MASK) == ~0));
DDoubleConsts.java98 public static final long SIGN_BIT_MASK = 1L << (SIZE - 1); field in DoubleConsts
120 assert(((SIGN_BIT_MASK | EXP_BIT_MASK | SIGNIF_BIT_MASK) == ~0L) &&
121 (((SIGN_BIT_MASK & EXP_BIT_MASK) == 0L) &&
122 ((SIGN_BIT_MASK & SIGNIF_BIT_MASK) == 0L) &&
124 ((SIGN_BIT_MASK | MAG_BIT_MASK) == ~0L));
DFloatingDecimal.java824 boolean isNegative = (dBits & DoubleConsts.SIGN_BIT_MASK) != 0; // discover sign
830 return (((dBits&~DoubleConsts.SIGN_BIT_MASK) == 0) ? 0 :
1389 ieeeBits |= DoubleConsts.SIGN_BIT_MASK;
1695 ieeeBits |= FloatConsts.SIGN_BIT_MASK; in floatValue()
1751 boolean isNegative = (dBits&DoubleConsts.SIGN_BIT_MASK) != 0; // discover sign in getBinaryToASCIIConverter()
1791 boolean isNegative = (fBits&FloatConsts.SIGN_BIT_MASK) != 0; in getBinaryToASCIIConverter()
2379 int floatBits = isNegative ? FloatConsts.SIGN_BIT_MASK : 0; in parseHexString()
2516 Double.longBitsToDouble(significand | DoubleConsts.SIGN_BIT_MASK) : in parseHexString()
/libcore/ojluni/src/test/java/lang/Double/
DBitwiseConversionTest.java49 longBitsToDouble(DoubleConsts.SIGN_BIT_MASK | DoubleConsts.EXP_BIT_MASK | y) in testNanCase()
/libcore/ojluni/src/test/java/lang/Float/
DBitwiseConversionTest.java49 intBitsToFloat(FloatConsts.SIGN_BIT_MASK | FloatConsts.EXP_BIT_MASK | y) in testNanCase()
/libcore/ojluni/src/main/java/java/lang/
DMath.java2775 DoubleConsts.SIGN_BIT_MASK) |
2804 return Float.intBitsToFloat((Float.floatToRawIntBits(f) & FloatConsts.SIGN_BIT_MASK) |
3069 (DoubleConsts.SIGN_BIT_MASK)) |
3097 (FloatConsts.SIGN_BIT_MASK)) |
/libcore/ojluni/src/main/java/java/math/
DBigInteger.java4476 bits |= signum & FloatConsts.SIGN_BIT_MASK;
4569 bits |= signum & DoubleConsts.SIGN_BIT_MASK;
/libcore/ojluni/src/main/java/java/util/
DFormatter.java3833 long signBit = doppel & DoubleConsts.SIGN_BIT_MASK;