Doc #76146 [Opn->Ver]: lcg_value doesn't specify if 1 is included or excluded
| From: | cmb@php.net | Date: | Sun, 25 Mar 2018 17:03:59 +0000 |
| Subject: | Doc #76146 [Opn->Ver]: lcg_value doesn't specify if 1 is included or excluded | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-15564@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=76146&edit=1
ID: 76146
Updated by: cmb@php.net
Reported by: looris at gmail dot com
Summary: lcg_value doesn't specify if 1 is included or
excluded
-Status: Open
+Status: Verified
Type: Documentation Problem
-Package: Documentation problem
+Package: Math related
PHP Version: Irrelevant
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2018-03-25 16:43:09] looris at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.lcg-value
---
The manual page of lcg_value() does not specify if the value is between 0 and 1 inclusive or
exclusive.
While it's very safe to assume that 0 is inclusive, it's definitely not obvious if 1 is or
isn't.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=76146&edit=1