Skip to content

Conversation

@lacatoire
Copy link
Contributor

The function description stated that both bounds were exclusive, while the parameter documentation specifies that the lower bound is inclusive and the upper bound exclusive.

This change aligns the refpurpose with the documented parameter behavior and removes an internal inconsistency.
Issue: #4984

Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PECL source code seems to say that exclusive is correct: https://github.com/php/pecl-math-stats/blob/master/randlib.c#L702

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants