private static BigInteger valueOf(int val[]){
  return (val[0] > 0 ? new BigInteger(val,1) : new BigInteger(val));
}

private static BigInteger valueOf ( int val [ ] ) { return ( val [ 0 ] > 0 ? new BigInteger ( val , 1 ) : new BigInteger ( val ) ) ; }
returns a biginteger with the given two ' s complement representation . assumes that the input array will not be modified ( the returned biginteger will reference the input array if feasible ) .
