Searched refs:exponent (Results 1 – 7 of 7) sorted by relevance
342 int exponent = getExponent(d); in ilogb() local344 switch (exponent) { in ilogb()377 exponent--; in ilogb()379 exponent++; in ilogb()380 assert( exponent >= in ilogb()382 exponent < DoubleConsts.MIN_EXPONENT); in ilogb()383 return exponent; in ilogb()387 assert( exponent >= DoubleConsts.MIN_EXPONENT && in ilogb()388 exponent <= DoubleConsts.MAX_EXPONENT); in ilogb()389 return exponent; in ilogb()[all …]
43 private char[] exponent; field in FormattedFloatingDecimal60 this.exponent = null; in FormattedFloatingDecimal()114 return exponent; in getExponent()232 exponent = create(isNegExp,1); in fillCompatible()233 exponent[expStartIntex] = (char) (e + '0'); in fillCompatible()235 exponent = create(isNegExp,2); in fillCompatible()236 exponent[expStartIntex] = (char) (e / 10 + '0'); in fillCompatible()237 exponent[expStartIntex+1] = (char) (e % 10 + '0'); in fillCompatible()239 exponent = create(isNegExp,3); in fillCompatible()240 exponent[expStartIntex] = (char) (e / 100 + '0'); in fillCompatible()[all …]
388 int exponent = Math.getExponent(a); in floorOrCeil() local390 if (exponent < 0) { in floorOrCeil()398 } else if (exponent >= 52) { in floorOrCeil()406 assert exponent >= 0 && exponent <= 51; in floorOrCeil() local409 long mask = DoubleConsts.SIGNIF_BIT_MASK >> exponent; in floorOrCeil()
2372 @NonNull public BigInteger pow(int exponent) { in pow() argument2373 if (exponent < 0) { in pow()2377 return (exponent == 0 ? ONE : this); in pow()2387 long bitsToShiftLong = (long)powersOfTwo * exponent; in pow()2400 if (signum < 0 && (exponent&1) == 1) { in pow()2409 if (signum < 0 && (exponent&1) == 1) { in pow()2420 long scaleFactor = (long)remainingBits * exponent; in pow()2426 int newSign = (signum <0 && (exponent&1) == 1 ? -1 : 1); in pow()2430 int workingExponent = exponent; in pow()2454 if ((long)bitLength() * exponent / Integer.SIZE > MAX_MAG_LENGTH) { in pow()[all …]
903 int exponent = (int) ((valBits >> 52) & 0x7ffL); in BigDecimal() local904 long significand = (exponent == 0 in BigDecimal()907 exponent -= 1075; in BigDecimal()924 exponent++; in BigDecimal()930 if (exponent == 0) { in BigDecimal()933 if (exponent < 0) { in BigDecimal()934 intVal = BigInteger.valueOf(5).pow(-exponent).multiply(compactVal); in BigDecimal()935 scale = -exponent; in BigDecimal()937 intVal = BigInteger.valueOf(2).pow(exponent).multiply(compactVal); in BigDecimal()
86 private char[] exponent; field in FormattedFloatingDecimal
488 String exponent = "([eE][+-]?"+digit+"+)?"; in buildFloatAndDecimalPattern() local499 positiveSuffix + exponent + ")"; in buildFloatAndDecimalPattern()501 negativeSuffix + exponent + ")"; in buildFloatAndDecimalPattern()502 String decimal = "(([-+]?" + decimalNumeral + exponent + ")|"+ in buildFloatAndDecimalPattern()