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.
-
ClassesClassDescription
DoubleRangerepresents an inclusive range ofdoubles.FloatRangerepresents an inclusive range offloats.Fractionis aNumberimplementation that stores fractions accurately.Provides IEEE-754r variants of NumberUtils methods.IntRangerepresents an inclusive range ofints.JVMRandomis a wrapper that supports all possible Random methods via theMath.random()method and its system-wideRandomobject.LongRangerepresents an inclusive range oflongs.NumberRangerepresents an inclusive range ofNumberobjects of the same type.Provides extra functionality for Java Number classes.RandomUtilsis a wrapper that supports all possibleRandommethods via theMath.random()method and its system-wideRandomobject.Rangerepresents a range of numbers of the same type.