Apache Commons logo Apache Commons Numbers

Apache Commons Numbers: Number types and utilities

Apache Commons Numbers provides implementations of number types and utilities. Features include

  • angles
  • arrays
  • combinatorics
  • complex numbers
  • core arithmetic
  • fields
  • fractions
  • gamma functions
  • primes
  • quaternions
  • root finding

The Bill of Materials (BOM) is provided to aid in dependency management of the Apache Commons Numbers modules.

The BOM can be imported into a Maven pom to manage the module versions:

<dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-numbers-bom</artifactId>
      <version>1.1</version>
      <type>pom</type>
      <scope>import</scope>
    </dependency>
  </dependencies>
</dependencyManagement>