Searched refs:SIGN_BIT_MASK (Results 1 – 10 of 10) sorted by relevance
52 public static final int SIGN_BIT_MASK = jdk.internal.math.FloatConsts.SIGN_BIT_MASK; field in FloatConsts73 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()
52 public static final long SIGN_BIT_MASK = jdk.internal.math.DoubleConsts.SIGN_BIT_MASK; field in DoubleConsts73 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()
94 public static final int SIGN_BIT_MASK = 1 << (SIZE - 1); field in FloatConsts116 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));
98 public static final long SIGN_BIT_MASK = 1L << (SIZE - 1); field in DoubleConsts120 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));
824 boolean isNegative = (dBits & DoubleConsts.SIGN_BIT_MASK) != 0; // discover sign830 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()
49 longBitsToDouble(DoubleConsts.SIGN_BIT_MASK | DoubleConsts.EXP_BIT_MASK | y) in testNanCase()
49 intBitsToFloat(FloatConsts.SIGN_BIT_MASK | FloatConsts.EXP_BIT_MASK | y) in testNanCase()
2775 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)) |
4476 bits |= signum & FloatConsts.SIGN_BIT_MASK;4569 bits |= signum & DoubleConsts.SIGN_BIT_MASK;
3833 long signBit = doppel & DoubleConsts.SIGN_BIT_MASK;