Documentation API of the 'org.jscience.mathematics.number.LargeInteger' Java class
LargeInteger
org.jscience.mathematics.number

Class LargeInteger

  • All Implemented Interfaces:
    Serializable, Comparable<LargeInteger>, javolution.lang.Immutable, javolution.lang.Realtime, javolution.lang.ValueType, javolution.xml.XMLSerializable, GroupAdditive<LargeInteger>, Ring<LargeInteger>, Structure<LargeInteger>


    public final class LargeIntegerextends Number<LargeInteger>

    This class represents an immutable integer number of arbitrary size.

    It has the following advantages over the java.math.BigInteger class:

    • Optimized for 64 bits architectures. But still runs significantly faster on 32 bits processors.
    • Real-time compliant for improved performance and predictability (no garbage generated when executing in StackContext).
    • Improved algorithms (e.g. Concurrent Karabutsa multiplication in O(nLog3) instead of O(n2).

    Note: This class uses ConcurrentContext to accelerate calculations on multi-cores systems.

    See Also:
    Wikipedia: Arbitrary-precision Arithmetic, Serialized Form

Warning: You cannot see the full API documentation of this class since the access to the DatMelt documentation for third-party Java classes is denied. Guests can only view jhplot Java API. To view the complete description of this class and its methods, please request the full DataMelt membership.

If you are already a full member, please login to the DataMelt member area before visiting this documentation.