



|
Manuel PHP
|
|
Table : .abs.acos .acosh .asin .asinh .atan2 .atan .atanh .base convert .bindec .ceil .cos .cosh .decbin .dechex .decoct .deg2rad .exp .expm1 .floor .fmod .getrandmax .hexdec .hypot .is finite .is infinite .is nan .lcg value .log10 .log1p .log .max .min .mt getrandmax .mt rand .mt srand .octdec .pi .pow .rad2deg .rand .round .sin .sinh .sqrt .srand .tan .tanh |
lcg_valuelcg_valueDescriptionfloat lcg_value ( void )lcg_value() retourne un nombre pseudo-aléatoire, compris entre 0 et 1. lcg_value() combine deux générateurs de congruence, de périodes respectives 2^31 - 85 et 2^31 - 249. La période de cette fonction est le produit de ces deux nombres premiers (soit (2^31 - 85)*(2^31 - 249)).
|

