public void testBitLengthPositive2(){
  byte aBytes[]={-128,56,100,-2,-76,89,45,91,3,-15,35,26};
  int aSign=1;
  BigInteger aNumber=new BigInteger(aSign,aBytes);
  assertEquals(96,aNumber.bitLength());
}

public void testBitLengthPositive2 ( ) { byte aBytes [ ] = { - 128 , 56 , 100 , - 2 , - 76 , 89 , 45 , 91 , 3 , - 15 , 35 , 26 } ; int aSign = 1 ; BigInteger aNumber = new BigInteger ( aSign , aBytes ) ; assertEquals ( 96 , aNumber . bitLength ( ) ) ; }
bitlength ( ) of a positive number with the leftmost bit set
