commit | 7cd4b43fcca657426422ed4db7125ae5780c790c | [log] [tgz] |
---|---|---|
author | Matthias Langer <m.langer798@gmail.com> | Wed Mar 06 21:06:07 2024 +0100 |
committer | GitHub <noreply@github.com> | Wed Mar 06 20:06:07 2024 +0000 |
tree | 16ac46cd6085e63954d32d1f382707df9331cfc1 | |
parent | 5fcb66a1e4928b6d7299aacb5cca91f36134cfc2 [diff] |
Calculate GCD for longs more efficiently (#140) Replaces the GCD implementation for long values with code that is several times faster. See https://medium.com/@m.langer798/stein-vs-stein-on-the-jvm-c911809bfce1 for details. Add GCD benchmarks and adapt GCD implementations.
The Apache Commons Numbers project provides number types and utilities.
More information can be found on the Apache Commons Numbers homepage. The Javadoc for each of the modules 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, for example:
<dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-numbers-core</artifactId> <version>1.1</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-numbers-complex</artifactId> <version>1.1</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-numbers-quaternion</artifactId> <version>1.1</version> </dependency>
We accept Pull Requests 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
.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.
This code is under the Apache Licence v2.
See the NOTICE
file for required notices and attributions.
You like Apache Commons Numbers? Then donate back to the ASF to support the development.
#apache-commons
IRC channel on irc.freenode.org