2012-06-04 6 views
-3

Java의 BigInteger 클래스에 대해 이해할 수 없습니다. 당신이 나를 도와 줄 수 ,,, 공공Java의 BigInteger 클래스?

공공의 BigInteger (INT의 비트 수, INT 확실성, 랜덤 RND)

비트 수의 매개 변수가 어떻게 그의 설명이었다?

덕분에 당신이

답변

4

constructor 지정된 길이의 임의 BigInteger을 만듭니다.

1
bitLength - bitLength of the returned BigInteger. 
certainty - a measure of the uncertainty that the caller is willing to tolerate. 
      The probability that the new BigInteger represents a prime number will 
      exceed (1 - 1/2certainty). The execution time of this constructor is 
      proportional to the value of this parameter. 

rnd - source of random bits used to select candidates to be tested for primality.