Package org.apache.commons.lang.math


package org.apache.commons.lang.math
Extends java.math for business mathematical classes. This package is intended for business mathematical use, not scientific use. See Commons Math for a more complete set of mathematical classes.
Since:
2.0

These classes are immutable, and therefore thread-safe.

  • Classes
    Class
    Description
    DoubleRange represents an inclusive range of doubles.
    FloatRange represents an inclusive range of floats.
    Fraction is a Number implementation that stores fractions accurately.
    Provides IEEE-754r variants of NumberUtils methods.
    IntRange represents an inclusive range of ints.
    JVMRandom is a wrapper that supports all possible Random methods via the Math.random() method and its system-wide Random object.
    LongRange represents an inclusive range of longs.
    NumberRange represents an inclusive range of Number objects of the same type.
    Provides extra functionality for Java Number classes.
    RandomUtils is a wrapper that supports all possible Random methods via the Math.random() method and its system-wide Random object.
    Range represents a range of numbers of the same type.