Package org.zfcj.math.numbers
package org.zfcj.math.numbers
Core numeric types for integer and
real-valued arithmetic
-
ClassDescriptionRepresents the aleph number aleph-zero, also called aleph-nought or aleph-null, and written as ℵ₀.
AlephNumber
s represent the cardinalities of infinite sets.ACardinalNumber
is what is commonly called the cardinality or number of elements of a set.ACountableNumber
is aCardinalNumber
that is either aNaturalNumber
orAleph0
The Euclidean Algorithm is an efficient method for computing the (GCD) greatest common divisor of a set of integersA container forThreadLocal
s that provide error thresholds for floating point calculationsRepresents a generic uncountable infinite cardinalAny integer number such as -12, 14, 0, 1 google, etc.ABinaryOperator
that adds twoInteger
s and returns the sumABinaryOperator
that divides oneInteger
s by another and returns their quotientABinaryOperator
that divides oneInteger
s by another and returns the remainderABinaryOperator
that multiplies twoInteger
s and returns their productABinaryOperator
that subtracts oneInteger
from another and returns the differenceIrrationalNumber<N extends PositiveInteger>AnIrrationalNumber
is aRealNumber
that is not aRationalNumber
.AFunction
that calculates the least common multiple of a set ofInteger
sANaturalNumber
is a non-negativeInteger
Represents an actualized negative infinity, denoted as -∞, aRealNumber
less than any otherRealNumber
A number of some type, ie real number, integer, etc.AnRuntimeException
that indicates a loss of numeric precision occurred.Represents an actualized positive infinity, denoted as +∞, aRealNumber
greater than any otherRealNumber
APositiveInteger
is aNaturalNumber
that isn'tZero
.ABinaryOperator
that add twoRationalNumber
s and returns the sumABinaryOperator
that multiplies twoRealNumber
s and returns the productARationalNumber
, also called a fraction, is aRealNumber
that can be defined as a ratio of twoInteger
s.AFunction
that calculates the absolute value of aRealNumber
ABinaryOperation
that returns the sum of twoRealNumber
sABinaryOperator
that divides twoRealNumber
s and returns the quotientABinaryOperator
that computes the exponentiation of oneRealNumber
by anotherABinaryOperator
that computes the modulo of oneRealNumber
by anotherABinaryOperator
that multiplies twoRealNumber
s and returns their productARealNumber
is an element of the set ofRealNumbers
ℝABinaryOperator
that subtracts oneRealNumber
from another and returns their difference