Home
last modified time | relevance | path

Searched refs:SIGNIFICAND_BITS (Results 1 – 3 of 3) sorted by relevance

/external/guava/guava/src/com/google/common/math/
DDoubleUtils.java55 static final int SIGNIFICAND_BITS = 52; field in DoubleUtils
110 int shift = exponent - SIGNIFICAND_BITS - 1; in bigToDouble()
123 long bits = (long) ((exponent + EXPONENT_BIAS)) << SIGNIFICAND_BITS; in bigToDouble()
DDoubleMath.java21 import static com.google.common.math.DoubleUtils.SIGNIFICAND_BITS;
188 BigInteger result = BigInteger.valueOf(significand).shiftLeft(exponent - SIGNIFICAND_BITS); in roundToBigInteger()
237 return log2(x * IMPLICIT_BIT, mode) - SIGNIFICAND_BITS; in log2()
282 SIGNIFICAND_BITS - Long.numberOfTrailingZeros(getSignificand(x)) <= getExponent(x)); in isMathematicalInteger()
DBigIntegerMath.java267 int shift = (log2 - DoubleUtils.SIGNIFICAND_BITS) & ~1; // even! in sqrtFloor()