commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aherb...@apache.org
Subject [commons-numbers] branch master updated (c876c0c -> 69f7ddc)
Date Thu, 16 Apr 2020 12:18:15 GMT
This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-numbers.git.


    from c876c0c  FractionTest: zero divide should be equal to Fraction.ZERO
     new 828f6a7  Fraction: Add tests for two representations of zero.
     new 7ad0f91  Use consistent order and tests in FractionTest and BigFractionTest.
     new 36154bb  Fixed Fraction.compareTo
     new 7fa4f4b  Rename powFractionTestCases to powTestCases
     new bb645f6  Fraction: Increase similarity between BigFraction tests
     new 51419db  BigFraction: Remove pow(long/BigInteger)
     new bcdbb3f  Fraction: common test cases for arithmetic with an integer
     new 854d141  Fraction: fix compareTo for positive numbers with two negative parts
     new fa5b3ee  Fraction: Use canonical zero as 0 / 1
     new 4356bd9  Fraction: update toString()
     new 4002f40  Fraction: efficient multiply by integer
     new 368187d  Fraction: efficient divide by integer
     new 6794743  Fraction: Optimise divide by fraction
     new e55c35b  FractionTest: use assertFraction in testMath1261
     new b47f05e  Clean-up numbers core TestUtilities.
     new 7d64af5  Remove unused import
     new 5192e10  Fraction: use factory constructor in add/subtract
     new e3f69b7  Fraction: fix overflow detection in add/subtract int
     new 83098b7  FractionTest: overflow check in multiply/divide by int
     new b0164fb  Fraction: rename f to num (for numerator) in add/subtract int
     new 1e789e0  FractionTest: Create test cases for arithmetic overflow
     new 86e3b5f  Fraction: test for zero in add/subtract int
     new c8d9fb7  Use final
     new ccd5e31  Fraction: Add tests for Integer.MIN_VALUE in intValue()
     new 466d33e  Add integer case to double constructor test cases.
     new 69f7ddc  Fraction: double constructor to avoid iterations <= epsilon.

The 26 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../org/apache/commons/numbers/core/TestUtils.java | 143 +----
 .../commons/numbers/fraction/BigFraction.java      | 121 ++--
 .../apache/commons/numbers/fraction/Fraction.java  | 155 +++--
 .../commons/numbers/fraction/BigFractionTest.java  | 497 ++++++++--------
 .../commons/numbers/fraction/CommonTestCases.java  | 206 ++++++-
 .../commons/numbers/fraction/FractionTest.java     | 635 +++++++++++++--------
 6 files changed, 1008 insertions(+), 749 deletions(-)


Mime
View raw message