Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/lang/
DHexStringParser.java215 int desiredWidth = MANTISSA_WIDTH + 2; in processNormalNumber() local
216 fitMantissaInDesiredWidth(desiredWidth); in processNormalNumber()
222 int desiredWidth = MANTISSA_WIDTH + 1; in processSubNormalNumber() local
223 desiredWidth += (int)exponent;//lends bit from mantissa to exponent in processSubNormalNumber()
225 fitMantissaInDesiredWidth(desiredWidth); in processSubNormalNumber()
233 private void fitMantissaInDesiredWidth(int desiredWidth){ in fitMantissaInDesiredWidth() argument
235 if (bitLength > desiredWidth) { in fitMantissaInDesiredWidth()
236 discardTrailingBits(bitLength - desiredWidth); in fitMantissaInDesiredWidth()
238 mantissa <<= (desiredWidth - bitLength); in fitMantissaInDesiredWidth()