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] [Updated] (MATH-640) AbstractRandomGenerator nextInt() and nextLong() default implementations generate only positive values
Date Tue, 02 Aug 2011 19:08:27 GMT

     [ https://issues.apache.org/jira/browse/MATH-640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Phil Steitz updated MATH-640:
-----------------------------

    Affects Version/s: 1.1
                       1.2
                       2.0
                       2.1
                       2.2
        Fix Version/s: 3.0

> 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
>    Affects Versions: 1.1, 1.2, 2.0, 2.1, 2.2
>            Reporter: Phil Steitz
>            Assignee: Phil Steitz
>             Fix For: 3.0
>
>
> 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