Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-182

converting some double numbers to Fraction can lead to integer overflows

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.2
    • Labels:
      None
    • Environment:

      GNU/Linux, Sun Java 1.6

      Description

      converting 0.75000000001455192 leads to an overflow at the third iteration
      converting 1.0e10 leads to an overflow before the loop (while computiong a0)

        Attachments

          Activity

            People

            • Assignee:
              luc Luc Maisonobe
              Reporter:
              luc Luc Maisonobe
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: