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 51973c3 Fix fraction hashCode
new c7a2734 Clean-up Fraction hashcode.
new ddc1ee7 Fraction: Document possible exception thrown by reciprocal()
new 40dae8c Fraction.of(numerator) to directly invoke special fraction
constructor.
new d293dd0 Explicit test for divide by zero in fraction constructor
new 25ce3fa Use assertThrows to detect exceptions
new 8089d08 Fraction: test multiply by integer with zero cases.
new 01cb55a Fraction constructor cannot throw an arithmetic exception
new 5768299 Fraction: Use of(numerator) to construct the public constants.
The 8 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:
.../commons/numbers/fraction/BigFraction.java | 27 ++++++++---
.../apache/commons/numbers/fraction/Fraction.java | 41 +++++++++++-----
.../commons/numbers/fraction/BigFractionTest.java | 54 +++++++---------------
.../commons/numbers/fraction/FractionTest.java | 17 ++++---
4 files changed, 76 insertions(+), 63 deletions(-)