note 79873 added to function.lcg-value
| From: | jfdsmit at gmail dot com | Date: | Mon, 17 Dec 2007 14:44:46 +0000 |
| Subject: | note 79873 added to function.lcg-value | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-133726@lists.php.net to get a copy of this message | ||
Be warned, the function provided by mr dot joebert at gmail dot com has a serious tendency to return
$min more often than anything else, especially when $min and $max are close. It also will never
return $max if $min is negative. rok kralj gmail com's implementation does not have this
problem, as it operates on the difference between $max and $min instead of $max itself.
----
Server IP: 213.249.64.162
Probable Submitter: 213.84.11.114
----
Manual Page -- http://www.php.net/manual/en/function.lcg-value.php
Edit -- https://master.php.net/note/edit/79873
Del: integrated -- https://master.php.net/note/delete/79873/integrated
Del: useless -- https://master.php.net/note/delete/79873/useless
Del: bad code -- https://master.php.net/note/delete/79873/bad+code
Del: spam -- https://master.php.net/note/delete/79873/spam
Del: non-english -- https://master.php.net/note/delete/79873/non-english
Del: in docs -- https://master.php.net/note/delete/79873/in+docs
Del: other reasons-- https://master.php.net/note/delete/79873
Reject -- https://master.php.net/note/reject/79873
Search -- https://master.php.net/manage/user-notes.php