Skip navigation links
A C D E G I L M N O P R S Z 

A

add(T) - Method in interface org.apache.commons.numbers.core.Addition
Binary addition.
Addition<T> - Interface in org.apache.commons.numbers.core
Addition.
ArithmeticUtils - Class in org.apache.commons.numbers.core
Some useful, arithmetics related, additions to the built-in functions in Math.

C

compareTo(double, double, double) - Static method in class org.apache.commons.numbers.core.Precision
Compares two numbers given some amount of allowed error.
compareTo(double, double, int) - Static method in class org.apache.commons.numbers.core.Precision
Compares two numbers given some amount of allowed error.

D

divide(T) - Method in interface org.apache.commons.numbers.core.NativeOperators
Binary division.
divideUnsigned(int, int) - Static method in class org.apache.commons.numbers.core.ArithmeticUtils
Returns the unsigned quotient of dividing the first argument by the second where each argument and the result is interpreted as an unsigned value.
divideUnsigned(long, long) - Static method in class org.apache.commons.numbers.core.ArithmeticUtils
Returns the unsigned quotient of dividing the first argument by the second where each argument and the result is interpreted as an unsigned value.

E

EPSILON - Static variable in class org.apache.commons.numbers.core.Precision
Largest double-precision floating-point number such that 1 + EPSILON is numerically equal to 1.
equals(float, float) - Static method in class org.apache.commons.numbers.core.Precision
Returns true iff they are equal as defined by equals(x, y, 1).
equals(float, float, float) - Static method in class org.apache.commons.numbers.core.Precision
Returns true if the arguments are equal or within the range of allowed error (inclusive).
equals(float, float, int) - Static method in class org.apache.commons.numbers.core.Precision
Returns true if the arguments are equal or within the range of allowed error (inclusive).
equals(double, double) - Static method in class org.apache.commons.numbers.core.Precision
Returns true iff they are equal as defined by equals(x, y, 1).
equals(double, double, double) - Static method in class org.apache.commons.numbers.core.Precision
Returns true if there is no double value strictly between the arguments or the difference between them is within the range of allowed error (inclusive).
equals(double, double, int) - Static method in class org.apache.commons.numbers.core.Precision
Returns true if the arguments are equal or within the range of allowed error (inclusive).
equalsIncludingNaN(float, float) - Static method in class org.apache.commons.numbers.core.Precision
Returns true if both arguments are NaN or they are equal as defined by equals(x, y, 1).
equalsIncludingNaN(float, float, float) - Static method in class org.apache.commons.numbers.core.Precision
Returns true if the arguments are both NaN, are equal, or are within the range of allowed error (inclusive).
equalsIncludingNaN(float, float, int) - Static method in class org.apache.commons.numbers.core.Precision
Returns true if the arguments are both NaN or if they are equal as defined by equals(x, y, maxUlps).
equalsIncludingNaN(double, double) - Static method in class org.apache.commons.numbers.core.Precision
Returns true if the arguments are both NaN or they are equal as defined by equals(x, y, 1).
equalsIncludingNaN(double, double, double) - Static method in class org.apache.commons.numbers.core.Precision
Returns true if the arguments are both NaN, are equal or are within the range of allowed error (inclusive).
equalsIncludingNaN(double, double, int) - Static method in class org.apache.commons.numbers.core.Precision
Returns true if both arguments are NaN or if they are equal as defined by equals(x, y, maxUlps).
equalsWithRelativeTolerance(double, double, double) - Static method in class org.apache.commons.numbers.core.Precision
Returns true if there is no double value strictly between the arguments or the relative difference between them is less than or equal to the given tolerance.

G

gcd(int, int) - Static method in class org.apache.commons.numbers.core.ArithmeticUtils
Computes the greatest common divisor of the absolute value of two numbers, using a modified version of the "binary gcd" method.
gcd(long, long) - Static method in class org.apache.commons.numbers.core.ArithmeticUtils
Gets the greatest common divisor of the absolute value of two numbers, using the "binary gcd" method which avoids division and modulo operations.

I

isPowerOfTwo(long) - Static method in class org.apache.commons.numbers.core.ArithmeticUtils
Returns true if the argument is a power of two.

L

lcm(int, int) - Static method in class org.apache.commons.numbers.core.ArithmeticUtils
Returns the least common multiple of the absolute value of two numbers, using the formula lcm(a,b) = (a / gcd(a,b)) * b.
lcm(long, long) - Static method in class org.apache.commons.numbers.core.ArithmeticUtils
Returns the least common multiple of the absolute value of two numbers, using the formula lcm(a,b) = (a / gcd(a,b)) * b.

M

Multiplication<T> - Interface in org.apache.commons.numbers.core
Multiplication.
multiply(T) - Method in interface org.apache.commons.numbers.core.Multiplication
Binary multiplication.
multiply(int) - Method in interface org.apache.commons.numbers.core.NativeOperators
Repeated addition.

N

NativeOperators<T> - Interface in org.apache.commons.numbers.core
Operators that can be implemented in a more performant way using the language constructs.
negate() - Method in interface org.apache.commons.numbers.core.Addition
Additive inverse.

O

one() - Method in interface org.apache.commons.numbers.core.Multiplication
Identity element.
org.apache.commons.numbers.core - package org.apache.commons.numbers.core
Basic utilities.

P

pow(int, int) - Static method in class org.apache.commons.numbers.core.ArithmeticUtils
Raise an int to an int power.
pow(long, int) - Static method in class org.apache.commons.numbers.core.ArithmeticUtils
Raise a long to an int power.
pow(BigInteger, int) - Static method in class org.apache.commons.numbers.core.ArithmeticUtils
Raise a BigInteger to an int power.
pow(BigInteger, long) - Static method in class org.apache.commons.numbers.core.ArithmeticUtils
Raise a BigInteger to a long power.
pow(BigInteger, BigInteger) - Static method in class org.apache.commons.numbers.core.ArithmeticUtils
Raise a BigInteger to a BigInteger power.
pow(int) - Method in interface org.apache.commons.numbers.core.NativeOperators
Repeated multiplication.
Precision - Class in org.apache.commons.numbers.core
Utilities for comparing numbers.

R

reciprocal() - Method in interface org.apache.commons.numbers.core.Multiplication
Multiplicative inverse.
remainderUnsigned(int, int) - Static method in class org.apache.commons.numbers.core.ArithmeticUtils
Returns the unsigned remainder from dividing the first argument by the second where each argument and the result is interpreted as an unsigned value.
remainderUnsigned(long, long) - Static method in class org.apache.commons.numbers.core.ArithmeticUtils
Returns the unsigned remainder from dividing the first argument by the second where each argument and the result is interpreted as an unsigned value.
representableDelta(double, double) - Static method in class org.apache.commons.numbers.core.Precision
Computes a number delta close to originalDelta with the property that
round(double, int) - Static method in class org.apache.commons.numbers.core.Precision
Rounds the given value to the specified number of decimal places.
round(double, int, RoundingMode) - Static method in class org.apache.commons.numbers.core.Precision
Rounds the given value to the specified number of decimal places.

S

SAFE_MIN - Static variable in class org.apache.commons.numbers.core.Precision
Safe minimum, such that 1 / SAFE_MIN does not overflow.
subtract(T) - Method in interface org.apache.commons.numbers.core.NativeOperators
Binary subtraction.

Z

zero() - Method in interface org.apache.commons.numbers.core.Addition
Identity element.
A C D E G I L M N O P R S Z 
Skip navigation links

Copyright © 2017–2020 The Apache Software Foundation. All rights reserved.