commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil Steitz (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MATH-640) AbstractRandomGenerator nextInt() and nextLong() default implementations generate only positive values
Date Tue, 02 Aug 2011 19:08:27 GMT
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

        

Mime
View raw message