Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-137

[lang] Improve javadoc and overflow behavior of Fraction

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0
    • None
    • None
    • Operating System: other
      Platform: Other

    • 22386

    Description

      The attached patch documents the undeclared parameters of the continued fraction
      implementation in getFraction(double) and modifies methods subject to integer
      overflows to throw ArithmeticExceptions when this occurs. Also includes some
      improvements to the unit tests.

      Attachments

        Activity

          People

            Unassigned Unassigned
            phil@steitz.com Phil Steitz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: