Searched refs:DoubleConsts (Results 1 – 10 of 10) sorted by relevance
33 import sun.misc.DoubleConsts;726 long biasedExp = (longBits & DoubleConsts.EXP_BIT_MASK) in round()727 >> (DoubleConsts.SIGNIFICAND_WIDTH - 1); in round()728 long shift = (DoubleConsts.SIGNIFICAND_WIDTH - 2 in round()729 + DoubleConsts.EXP_BIAS) - biasedExp; in round()732 long r = ((longBits & DoubleConsts.SIGNIF_BIT_MASK) in round()733 | (DoubleConsts.SIGNIF_BIT_MASK + 1)); in round()1596 case DoubleConsts.MAX_EXPONENT+1: // NaN or infinity in ulp()1599 case DoubleConsts.MIN_EXPONENT-1: // zero or subnormal in ulp()1603 assert exp <= DoubleConsts.MAX_EXPONENT && exp >= DoubleConsts.MIN_EXPONENT; in ulp()[all …]
30 import sun.misc.DoubleConsts;304 boolean subnormal = (d < DoubleConsts.MIN_NORMAL); in toHexString()310 & DoubleConsts.SIGNIF_BIT_MASK) | in toHexString()332 DoubleConsts.MIN_EXPONENT: in toHexString()576 return Math.abs(d) <= DoubleConsts.MAX_VALUE; in isFinite()839 if ( ((result & DoubleConsts.EXP_BIT_MASK) == in doubleToLongBits()840 DoubleConsts.EXP_BIT_MASK) && in doubleToLongBits()841 (result & DoubleConsts.SIGNIF_BIT_MASK) != 0L) in doubleToLongBits()
30 import sun.misc.DoubleConsts;291 DoubleConsts.MIN_EXPONENT- in toHexString()
29 import sun.misc.DoubleConsts;409 long mask = DoubleConsts.SIGNIF_BIT_MASK >> exponent; in floorOrCeil()
29 import sun.misc.DoubleConsts;345 case DoubleConsts.MAX_EXPONENT+1: // NaN or infinity in ilogb()351 case DoubleConsts.MIN_EXPONENT-1: // zero or subnormal in ilogb()367 transducer &= DoubleConsts.SIGNIF_BIT_MASK; in ilogb()375 (1L << (DoubleConsts.SIGNIFICAND_WIDTH - 1))) { in ilogb()381 DoubleConsts.MIN_EXPONENT - (DoubleConsts.SIGNIFICAND_WIDTH-1) && in ilogb()382 exponent < DoubleConsts.MIN_EXPONENT); in ilogb()387 assert( exponent >= DoubleConsts.MIN_EXPONENT && in ilogb()388 exponent <= DoubleConsts.MAX_EXPONENT); in ilogb()
43 static final int EXP_SHIFT = DoubleConsts.SIGNIFICAND_WIDTH - 1;45 static final long EXP_ONE = ((long)DoubleConsts.EXP_BIAS)<<EXP_SHIFT; // exponent of 1.0820 … double d2 = Double.longBitsToDouble( EXP_ONE | ( fractBits & DoubleConsts.SIGNIF_BIT_MASK ) );823 … int exponent = (int)((dBits & DoubleConsts.EXP_BIT_MASK) >> EXP_SHIFT) - DoubleConsts.EXP_BIAS;824 boolean isNegative = (dBits & DoubleConsts.SIGN_BIT_MASK) != 0; // discover sign826 long mask = DoubleConsts.SIGNIF_BIT_MASK >> exponent;827 … int r = (int)(( (dBits&DoubleConsts.SIGNIF_BIT_MASK) | FRACT_HOB )>>(EXP_SHIFT-exponent));830 return (((dBits&~DoubleConsts.SIGN_BIT_MASK) == 0) ? 0 :1263 long bigBbits = ieeeBits & DoubleConsts.SIGNIF_BIT_MASK;1273 binexp -= DoubleConsts.EXP_BIAS;[all …]
35 public class DoubleConsts { class39 private DoubleConsts() {} in DoubleConsts() method in DoubleConsts
61 import sun.misc.DoubleConsts;3551 = (exponent == DoubleConsts.MIN_EXPONENT - 1);3561 assert exponent >= DoubleConsts.MIN_EXPONENT &&3562 exponent <= DoubleConsts.MAX_EXPONENT: exponent;3567 = DoubleConsts.SIGNIFICAND_WIDTH - precision;3568 assert(shiftDistance >= 1 && shiftDistance < DoubleConsts.SIGNIFICAND_WIDTH);3573 = (doppel & (DoubleConsts.EXP_BIT_MASK3574 | DoubleConsts.SIGNIF_BIT_MASK))3593 long signBit = doppel & DoubleConsts.SIGN_BIT_MASK;
40 import sun.misc.DoubleConsts;4275 int shift = exponent - DoubleConsts.SIGNIFICAND_WIDTH;4302 signifFloor &= DoubleConsts.SIGNIF_BIT_MASK; // remove the implied bit4314 long bits = (long) ((exponent + DoubleConsts.EXP_BIAS))4315 << (DoubleConsts.SIGNIFICAND_WIDTH - 1);4324 bits |= signum & DoubleConsts.SIGN_BIT_MASK;
1466 "ojluni/src/main/java/sun/misc/DoubleConsts.java",