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

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

JIRA jira@apache.org
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.

Reply | Threaded
Open this post in threaded view
|

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

JIRA jira@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.