jdk/src/java.base/share/classes/java/math/BigInteger.java
changeset 32649 2ee9017c7597
parent 32033 bf24e33c7919
child 33674 566777f73c32
equal deleted inserted replaced
32648:1fa861caf840 32649:2ee9017c7597
   182     private int firstNonzeroIntNumPlusTwo;
   182     private int firstNonzeroIntNumPlusTwo;
   183 
   183 
   184     /**
   184     /**
   185      * This mask is used to obtain the value of an int as if it were unsigned.
   185      * This mask is used to obtain the value of an int as if it were unsigned.
   186      */
   186      */
   187     final static long LONG_MASK = 0xffffffffL;
   187     static final long LONG_MASK = 0xffffffffL;
   188 
   188 
   189     /**
   189     /**
   190      * This constant limits {@code mag.length} of BigIntegers to the supported
   190      * This constant limits {@code mag.length} of BigIntegers to the supported
   191      * range.
   191      * range.
   192      */
   192      */
  1210     // Constants
  1210     // Constants
  1211 
  1211 
  1212     /**
  1212     /**
  1213      * Initialize static constant array when class is loaded.
  1213      * Initialize static constant array when class is loaded.
  1214      */
  1214      */
  1215     private final static int MAX_CONSTANT = 16;
  1215     private static final int MAX_CONSTANT = 16;
  1216     private static BigInteger posConst[] = new BigInteger[MAX_CONSTANT+1];
  1216     private static BigInteger posConst[] = new BigInteger[MAX_CONSTANT+1];
  1217     private static BigInteger negConst[] = new BigInteger[MAX_CONSTANT+1];
  1217     private static BigInteger negConst[] = new BigInteger[MAX_CONSTANT+1];
  1218 
  1218 
  1219     /**
  1219     /**
  1220      * The cache of powers of each radix.  This allows us to not have to
  1220      * The cache of powers of each radix.  This allows us to not have to