You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Luc Maisonobe (JIRA)" <ji...@apache.org> on 2008/02/01 13:01:15 UTC

[jira] Created: (MATH-182) converting some double numbers to Fraction can lead to integer overflows

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.


[jira] Resolved: (MATH-182) converting some double numbers to Fraction can lead to integer overflows

Posted by "Luc Maisonobe (JIRA)" <ji...@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.