Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3F95B643B for ; Tue, 2 Aug 2011 19:08:52 +0000 (UTC) Received: (qmail 77514 invoked by uid 500); 2 Aug 2011 19:08:50 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 77315 invoked by uid 500); 2 Aug 2011 19:08:49 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 77297 invoked by uid 99); 2 Aug 2011 19:08:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Aug 2011 19:08:49 +0000 X-ASF-Spam-Status: No, hits=-2000.7 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Aug 2011 19:08:48 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6A16C9B7D2 for ; Tue, 2 Aug 2011 19:08:27 +0000 (UTC) Date: Tue, 2 Aug 2011 19:08:27 +0000 (UTC) From: "Phil Steitz (JIRA)" To: issues@commons.apache.org Message-ID: <1993411873.2471.1312312107431.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2026191186.2464.1312312107091.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (MATH-640) AbstractRandomGenerator nextInt() and nextLong() default implementations generate only positive values MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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