Searched refs:SIGNIFICAND_WIDTH (Results 1 - 14 of 14) sorted by relevance

/openjdk10/jdk/src/java.base/share/classes/jdk/internal/math/
H A DDoubleConsts.java45 public static final int SIGNIFICAND_WIDTH = 53; field in class:DoubleConsts
52 (SIGNIFICAND_WIDTH - 1);
H A DFloatConsts.java45 public static final int SIGNIFICAND_WIDTH = 24; field in class:FloatConsts
52 (SIGNIFICAND_WIDTH - 1);
H A DFloatingDecimal.java43 static final int EXP_SHIFT = DoubleConsts.SIGNIFICAND_WIDTH - 1;
54 static final int SINGLE_EXP_SHIFT = FloatConsts.SIGNIFICAND_WIDTH - 1;
2291 // significand |= leadingDigit << (SIGNIFICAND_WIDTH - leadingOnePosition);
2385 int threshShift = DoubleConsts.SIGNIFICAND_WIDTH - FloatConsts.SIGNIFICAND_WIDTH - 1;
2398 int threshShift = (int) ((DoubleConsts.SIGNIFICAND_WIDTH - 2 + FloatConsts.MIN_SUB_EXPONENT) - exponent);
2399 assert threshShift >= DoubleConsts.SIGNIFICAND_WIDTH - FloatConsts.SIGNIFICAND_WIDTH;
2400 assert threshShift < DoubleConsts.SIGNIFICAND_WIDTH;
2432 (DoubleConsts.SIGNIFICAND_WIDTH
[all...]
/openjdk10/jdk/test/java/lang/Math/
H A DDoubleConsts.java57 public static final int SIGNIFICAND_WIDTH = 53; field in class:DoubleConsts
64 (SIGNIFICAND_WIDTH - 1);
H A DFloatConsts.java57 public static final int SIGNIFICAND_WIDTH = 24; field in class:FloatConsts
64 (SIGNIFICAND_WIDTH - 1);
H A DTests.java111 (1L << (DoubleConsts.SIGNIFICAND_WIDTH - 1))) {
117 Double.MIN_EXPONENT - (DoubleConsts.SIGNIFICAND_WIDTH-1) &&
180 (1 << (FloatConsts.SIGNIFICAND_WIDTH - 1))) {
186 Float.MIN_EXPONENT - (FloatConsts.SIGNIFICAND_WIDTH-1) &&
H A DCubeRootTests.java128 (DoubleConsts.SIGNIFICAND_WIDTH-1-16));
135 (DoubleConsts.SIGNIFICAND_WIDTH-1-16));
H A DIeeeRecommendedTests.java61 (DoubleConsts.SIGNIFICAND_WIDTH-1))
70 (FloatConsts.SIGNIFICAND_WIDTH-1))
201 i < FloatConsts.SIGNIFICAND_WIDTH;
308 i < DoubleConsts.SIGNIFICAND_WIDTH;
971 FloatConsts.SIGNIFICAND_WIDTH + 1;
1028 Float.MIN_EXPONENT - FloatConsts.SIGNIFICAND_WIDTH,
1179 DoubleConsts.SIGNIFICAND_WIDTH + 1;
1236 Double.MIN_EXPONENT - DoubleConsts.SIGNIFICAND_WIDTH,
1435 expected = Math.scalb(1.0f, i - (FloatConsts.SIGNIFICAND_WIDTH-1));
1474 i < FloatConsts.SIGNIFICAND_WIDTH;
[all...]
/openjdk10/jdk/test/java/lang/Double/
H A DBitwiseConversion.java65 for (int i = 0; i < DoubleConsts.SIGNIFICAND_WIDTH-1; i++) {
/openjdk10/jdk/test/java/lang/Float/
H A DBitwiseConversion.java65 for (int i = 0; i < FloatConsts.SIGNIFICAND_WIDTH-1; i++) {
/openjdk10/jdk/src/java.base/share/classes/java/lang/
H A DMath.java693 >> (FloatConsts.SIGNIFICAND_WIDTH - 1);
694 int shift = (FloatConsts.SIGNIFICAND_WIDTH - 2
712 // - a finite number with abs(a) < exp(2,FloatConsts.SIGNIFICAND_WIDTH-32) < 1/2
742 >> (DoubleConsts.SIGNIFICAND_WIDTH - 1);
743 long shift = (DoubleConsts.SIGNIFICAND_WIDTH - 2
761 // - a finite number with abs(a) < exp(2,DoubleConsts.SIGNIFICAND_WIDTH-64) < 1/2
1814 // ulp(x) is usually 2^(SIGNIFICAND_WIDTH-1)*(2^ilogb(x))
1815 exp = exp - (DoubleConsts.SIGNIFICAND_WIDTH-1);
1824 (exp - (Double.MIN_EXPONENT - (DoubleConsts.SIGNIFICAND_WIDTH-1)) ));
1865 // ulp(x) is usually 2^(SIGNIFICAND_WIDTH
[all...]
/openjdk10/jdk/test/jdk/internal/math/FloatingDecimal/
H A DOldFloatingDecimalForTest.java2127 // significand |= leadingDigit << (SIGNIFICAND_WIDTH - leadingOnePosition);
2238 (DoubleConsts.SIGNIFICAND_WIDTH-1))
2285 (DoubleConsts.SIGNIFICAND_WIDTH-1))
/openjdk10/jdk/src/java.base/share/classes/java/math/
H A DBigInteger.java4113 * We need the top SIGNIFICAND_WIDTH bits, including the "implicit"
4115 * SIGNIFICAND_WIDTH + 1 bits, so we have one to help us round up or
4116 * down. twiceSignifFloor will contain the top SIGNIFICAND_WIDTH + 1
4117 * bits, and signifFloor the top SIGNIFICAND_WIDTH.
4120 * 2^(SIGNIFICAND_WIDTH - 1 - exponent).
4122 int shift = exponent - FloatConsts.SIGNIFICAND_WIDTH;
4154 << (FloatConsts.SIGNIFICAND_WIDTH - 1);
4198 * We need the top SIGNIFICAND_WIDTH bits, including the "implicit"
4200 * SIGNIFICAND_WIDTH + 1 bits, so we have one to help us round up or
4201 * down. twiceSignifFloor will contain the top SIGNIFICAND_WIDTH
[all...]
/openjdk10/jdk/src/java.base/share/classes/java/util/
H A DFormatter.java3515 = DoubleConsts.SIGNIFICAND_WIDTH - precision;
3516 assert(shiftDistance >= 1 && shiftDistance < DoubleConsts.SIGNIFICAND_WIDTH);

Completed in 234 milliseconds