From commits-return-72896-archive-asf-public=cust-asf.ponee.io@commons.apache.org Thu Apr 16 12:18:16 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 4CA43180638 for ; Thu, 16 Apr 2020 14:18:16 +0200 (CEST) Received: (qmail 67177 invoked by uid 500); 16 Apr 2020 12:18:15 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 67156 invoked by uid 99); 16 Apr 2020 12:18:15 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Apr 2020 12:18:15 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 22E1E8B6AC; Thu, 16 Apr 2020 12:18:15 +0000 (UTC) Date: Thu, 16 Apr 2020 12:18:15 +0000 To: "commits@commons.apache.org" Subject: [commons-numbers] branch master updated (c876c0c -> 69f7ddc) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <158703949508.31010.8399859352932103892@gitbox.apache.org> From: aherbert@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: commons-numbers X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: c876c0c189061564905594111e336f7e588666a0 X-Git-Newrev: 69f7ddc5065961e12b63002d2d4a34b145758963 X-Git-NotificationType: ref_changed X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated 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(-)