Lines Matching refs:exponent
55 // The mask for the exponent, according to the {@link
80 int exponent = (int) ((bits & EXPONENT_MASK) >> SIGNIFICAND_BITS);
81 exponent -= EXPONENT_BIAS;
82 return exponent;
90 int exponent = getExponent(d);
91 switch (exponent) {
97 int newExponent = exponent + scale;
111 int exponent = getExponent(d);
114 return (exponent == MIN_DOUBLE_EXPONENT - 1)
139 int exponent = absX.bitLength() - 1;
140 // exponent == floor(log2(abs(x)))
141 if (exponent < Long.SIZE - 1) {
143 } else if (exponent > MAX_DOUBLE_EXPONENT) {
153 * It helps to consider the real number signif = absX * 2^(SIGNIFICAND_BITS - exponent).
155 int shift = exponent - SIGNIFICAND_BITS - 1;
168 long bits = (long) ((exponent + EXPONENT_BIAS)) << SIGNIFICAND_BITS;
172 * the exponent. This is exactly the behavior we get from just adding signifRounded to bits
173 * directly. If the exponent is MAX_DOUBLE_EXPONENT, we round up (correctly) to