[
https://issues.apache.org/jira/browse/RNG-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17382236#comment-17382236
]
Alex Herbert commented on RNG-140:
----------------------------------
I adapted this from the same sampler for int values. However this rejection
test was new. The DiscreteUniformSampler does not have a test for this.
Uniformity is only tested for the small range. When I merge the PR I'll update
the DisceteUniformSampler test to match.
> nextLong(long lo, long hi)
> --------------------------
>
> Key: RNG-140
> URL: https://issues.apache.org/jira/browse/RNG-140
> Project: Commons RNG
> Issue Type: Wish
> Components: sampling
> Reporter: Gilles Sadowski
> Priority: Minor
> Labels: api
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Replacement for functionality defined in
> [{{RandomUtils}}|https://gitbox.apache.org/repos/asf?p=commons-math.git;a=blob;f=commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/random/RandomUtils.java;h=60060e71d5bbe1d00878a1f54f8bb1ff88b65f11;hb=HEAD#l293].
--
This message was sent by Atlassian Jira
(v8.3.4#803005)