You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/08/13 18:43:50 UTC

DO NOT REPLY [Bug 22386] New: - [lang] Improve javadoc and overflow behavior of Fraction

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22386>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22386

[lang] Improve javadoc and overflow behavior of Fraction

           Summary: [lang] Improve javadoc and overflow behavior of Fraction
           Product: Commons
           Version: Nightly Builds
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Lang
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: phil@steitz.com


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.