LCG_VALUE(3) 1 LCG_VALUE(3) lcg_value - Combined linear congruential generatorSYNOPSISfloat lcg_value (void )DESCRIPTIONlcg_value(3) returns a pseudo random number in the range of (0, 1). The function combines two CGs with periods of 2^31 - 85 and 2^31 - 249. The period of this function is equal to the product of both primes.RETURN VALUESA pseudo random float value in the range of (0, 1)SEE ALSOrand(3), mt_rand(3). PHP Documentation Group LCG_VALUE(3)
| Related Man Pages |
|---|
| rand(3c) - hpux |
| rand(3c) - sunos |
| srand(3ucb) - sunos |
| srand(3ucb) - opensolaris |
| mt_srand(3) - php |
| Similar Topics in the Unix Linux Community |
|---|
| Rules for Homework & Coursework Questions Forum |
| Please Welcome Ravinder Singh to the Moderation Team |
| Denial Of Service Attack Update |
| Please Welcome Nicki Paul to the Moderator Team! |