cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Fiol (JIRA)" <j...@apache.org>
Subject [jira] Created: (COCOON-1716) RandomNumberModule wrong answers
Date Mon, 19 Dec 2005 12:03:30 GMT
RandomNumberModule wrong answers
--------------------------------

         Key: COCOON-1716
         URL: http://issues.apache.org/jira/browse/COCOON-1716
     Project: Cocoon
        Type: Bug
    Reporter: Antonio Fiol


Apparently, the distribution of the numbers returned by the RandomNumberModule is not quite
uniform.

Without any special configuration, its result "mod 4" usually (if not always) returns the
same value (Windows platform, Tomcat 5.5, JDK 1.5).

Other than that, the code does not add up "min" to the result, so it gives a random number
in the range (0,max-min), and not in (min,max) as expected.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message