(PHP 4 )
lcg_value -- Combined linear congruential generator
Description
double
lcg_value ( void)
lcg_value()는 (0, 1) 사이의 의사 랜덤 숫자(pseudo number)를 반환한다.
이 함수는 2^31 - 85 와 2^31 - 249 사이의 두개의 CG를 조합한다.
이 함수의 구간은 두 소수의 산물과 일치한다.
(The period of this function is equal to the product of both primes.)