AbstractRandomGenerator nextInt() and nextLong() default implementations 
generate only positive values
------------------------------------------------------------------------------------------------------

                 Key: MATH-640
                 URL: https://issues.apache.org/jira/browse/MATH-640
             Project: Commons Math
          Issue Type: Bug
            Reporter: Phil Steitz
            Assignee: Phil Steitz


The javadoc for these methods (and what is specified in the RandomGenerator 
interface) says that all int / long values should be in the range of these 
methods.  The default implementations provided in this class do not generate 
negative values.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to