Add ziggurat versions with multiple max epsilon values
authoraherbert <aherbert@apache.org>
Tue, 31 Aug 2021 16:44:23 +0000 (17:44 +0100)
committeraherbert <aherbert@apache.org>
Tue, 31 Aug 2021 16:44:23 +0000 (17:44 +0100)
commit7dd137d8dc7ba14519b9b5cdb665b26757426f58
treea91a901f927472336d506dfd7bcca8e01f711b6f
parented81539ac39b248fb8c0fc4bad27a4c25e81957d
Add ziggurat versions with multiple max epsilon values

Correct exponential epsilon values to use the ceiling of the float value
before rounding to a long integer.
commons-rng-examples/examples-jmh/src/main/java/org/apache/commons/rng/examples/jmh/sampling/distribution/ZigguratSamplerPerformance.java
commons-rng-examples/examples-jmh/src/test/java/org/apache/commons/rng/examples/jmh/sampling/distribution/ZigguratSamplerTest.java
commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/ZigguratSampler.java