Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/sun/misc/
DFormattedFloatingDecimal.java187 int zeros = Math.max(0, Math.min(-exp, precision)); in fillCompatible() local
190 if (zeros > 0) { in fillCompatible()
191 mantissa = create(isNegative, zeros + 2 + t); in fillCompatible()
194 Arrays.fill(mantissa, startIndex + 2, startIndex + 2 + zeros, '0'); in fillCompatible()
197 System.arraycopy(digits, 0, mantissa, startIndex + 2 + zeros, t); in fillCompatible()
200 mantissa = create(isNegative, zeros + 2 + t); in fillCompatible()
286 int zeros = Math.max(0, Math.min(-exp, precision)); in fillDecimal() local
289 if (zeros > 0) { in fillDecimal()
290 mantissa = create(isNegative, zeros + 2 + t); in fillDecimal()
293 Arrays.fill(mantissa, startIndex + 2, startIndex + 2 + zeros, '0'); in fillDecimal()
[all …]
DFDBigInteger.java399 int zeros = Integer.numberOfLeadingZeros(data[nWords - 1]); in getNormalizationBias() local
400 return (zeros < 4) ? 28 + zeros : zeros - 4; in getNormalizationBias()
/libcore/ojluni/src/main/java/java/sql/
DTimestamp.java189 String zeros = "000000000"; in valueOf() local
252 nanos_s = nanos_s + zeros.substring(0,9-nanos_s.length()); in valueOf()
289 String zeros = "000000000"; in toString() local
332 nanosString = zeros.substring(0, (9-nanosString.length())) + in toString()