Name: boT120536 Date: 11/06/2000
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Server VM (build 2.0fcs-E, mixed mode)
BigInteger q = new BigInteger( String.valueOf(-1) );
q.bitLength() will give 0
I think in a minimal two's complement notation this should still be 1 ?
(Review ID: 106833)
======================================================================