Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 85412 invoked from network); 1 Feb 2008 12:05:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Feb 2008 12:05:30 -0000 Received: (qmail 4066 invoked by uid 500); 1 Feb 2008 12:05:20 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 3983 invoked by uid 500); 1 Feb 2008 12:05:20 -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 3973 invoked by uid 99); 1 Feb 2008 12:05:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Feb 2008 04:05:20 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Feb 2008 12:05:01 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3F002714044 for ; Fri, 1 Feb 2008 04:05:08 -0800 (PST) Message-ID: <29432027.1201867508230.JavaMail.jira@brutus> Date: Fri, 1 Feb 2008 04:05:08 -0800 (PST) From: "Luc Maisonobe (JIRA)" To: issues@commons.apache.org Subject: [jira] Resolved: (MATH-182) converting some double numbers to Fraction can lead to integer overflows In-Reply-To: <21791539.1201867275022.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MATH-182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Luc Maisonobe resolved MATH-182. -------------------------------- Resolution: Fixed fixed as of r617482 > converting some double numbers to Fraction can lead to integer overflows > ------------------------------------------------------------------------ > > Key: MATH-182 > URL: https://issues.apache.org/jira/browse/MATH-182 > Project: Commons Math > Issue Type: Bug > Affects Versions: 1.2 > Environment: GNU/Linux, Sun Java 1.6 > Reporter: Luc Maisonobe > Assignee: Luc Maisonobe > Priority: Minor > Fix For: 1.2 > > > converting 0.75000000001455192 leads to an overflow at the third iteration > converting 1.0e10 leads to an overflow before the loop (while computiong a0) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.