commit | 95050a18547dd7d556892b24de15e8032aabae3c | [log] [tgz] |
---|---|---|
author | Alex Herbert <aherbert@apache.org> | Mon Jan 13 17:19:04 2020 +0000 |
committer | Alex Herbert <aherbert@apache.org> | Mon Jan 13 17:19:04 2020 +0000 |
tree | ac5749b26238d487441c93a67f4ee8210e46ec0c | |
parent | 8bd4f082b133526ae865a3665bb634a4ea351696 [diff] |
Removed impossible edge case in log(). Since y<x it is not possible for x < SAFE_MIN and y > SAFE_MIN. So just test if y < SAFE_MIN since this will be an underflow.
The Apache Commons Numbers project provides number types and utilities.
More information can be found on the homepage. The JavaDoc can be browsed. Questions related to the usage of Apache Commons Numbers should be posted to the user mailing list.
You can download source and binaries from our download page.
Alternatively you can pull it from the central Maven repositories:
<dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-numbers</artifactId> <version>1.0</version> </dependency>
We accept PRs via github. The developer mailing list is the main channel of communication for contributors. There are some guidelines which will make applying PRs easier for us:
mvn clean test
.If you plan to contribute on a regular basis, please consider filing a contributor license agreement. You can learn more about contributing via GitHub in our contribution guidelines.
Code is under the Apache Licence v2.
You like Apache Commons Numbers? Then donate back to the ASF to support the development.