Searched defs:zeros (Results 1 - 4 of 4) sorted by relevance

/openjdk7/jdk/test/java/math/BigDecimal/
H A DZeroScalingTests.java38 static BigDecimal[] zeros = new BigDecimal[23]; field in class:ZeroScalingTests
41 zeros[i] = new BigDecimal(BigInteger.ZERO, i-10);
43 zeros[21] = new BigDecimal(BigInteger.ZERO, Integer.MIN_VALUE);
44 zeros[22] = new BigDecimal(BigInteger.ZERO, Integer.MAX_VALUE);
63 for(BigDecimal zero1: zeros) {
64 for(BigDecimal zero2: zeros) {
97 for (BigDecimal zero: zeros) {
164 for(BigDecimal zero1: zeros) {
165 for(BigDecimal zero2: zeros) {
199 for (BigDecimal zero: zeros) {
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/objects/
H A DXNumber.java241 // // Account for exponent by adding zeros as needed
264 // return sign + wholePart + decimalPart + zeros(exp - decimalLen);
270 // return sign + "0." + zeros(-1 - exp) + wholePart + decimalPart;
335 + zeros(exp - nDigits);
345 return sign + "0." + zeros(-1 - exp) + s.substring(0, 1)
358 static private String zeros(int n) method in class:XNumber
/openjdk7/jdk/test/sun/text/resources/
H A DLocaleDataTest.java428 number = zeros.substring(0, 4 - number.length()) + number;
448 private static String zeros = "0000"; field in class:EscapeWriter
/openjdk7/jdk/src/share/classes/java/math/
H A DBigInteger.java314 // Skip leading zeros and compute number of digits in magnitude
374 // Skip leading zeros and compute number of digits in magnitude
1219 * the result into z. There will be no leading zeros in the resultant array.
1477 // shifts a up to len right n bits assumes no leading zeros, 0<n<32
1488 // shifts a up to len left n bits assumes no leading zeros, 0<=n<32
1744 // Pad table[0] with leading zeros so its length is at least modLen
2437 // Count the trailing zeros in the magnitude
2653 // Append remaining digit groups padded with leading zeros
2655 // Prepend (any) leading zeros for this digit group
2658 buf.append(zeros[numLeadingZero
2665 private static String zeros[] = new String[64]; field in class:BigInteger
[all...]

Completed in 465 milliseconds