BigInteger.java (ival): Made private.
* java/math/BigInteger.java(ival): Made private. (words): Ditto. (neg): Ditto. From-SVN: r32143
This commit is contained in:
parent
574a0ef53c
commit
12b595c7c4
@ -1,3 +1,9 @@
|
|||||||
|
2000-02-24 Warren Levy <warrenl@cygnus.com>
|
||||||
|
|
||||||
|
* java/math/BigInteger.java(ival): Made private.
|
||||||
|
(words): Ditto.
|
||||||
|
(neg): Ditto.
|
||||||
|
|
||||||
2000-02-20 Anthony Green <green@cygnus.com>
|
2000-02-20 Anthony Green <green@cygnus.com>
|
||||||
|
|
||||||
* Makefile.in: Rebuilt.
|
* Makefile.in: Rebuilt.
|
||||||
|
@ -35,8 +35,8 @@ public class BigInteger extends Number implements Comparable
|
|||||||
* If words == null, the ival is the value of this BigInteger.
|
* If words == null, the ival is the value of this BigInteger.
|
||||||
* Otherwise, the first ival elements of words make the value
|
* Otherwise, the first ival elements of words make the value
|
||||||
* of this BigInteger, stored in little-endian order, 2's-complement form. */
|
* of this BigInteger, stored in little-endian order, 2's-complement form. */
|
||||||
public int ival;
|
private int ival;
|
||||||
public int[] words;
|
private int[] words;
|
||||||
|
|
||||||
|
|
||||||
/** We pre-allocate integers in the range minFixNum..maxFixNum. */
|
/** We pre-allocate integers in the range minFixNum..maxFixNum. */
|
||||||
@ -1779,7 +1779,7 @@ public class BigInteger extends Number implements Comparable
|
|||||||
return abs(this);
|
return abs(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static BigInteger neg(BigInteger x)
|
private static BigInteger neg(BigInteger x)
|
||||||
{
|
{
|
||||||
if (x.words == null && x.ival != Integer.MIN_VALUE)
|
if (x.words == null && x.ival != Integer.MIN_VALUE)
|
||||||
return make(- x.ival);
|
return make(- x.ival);
|
||||||
|
Loading…
Reference in New Issue
Block a user