Package gnu.math

Supports various numeric types, including complex numbers, efficient bignums, exact rational numbers, units.

Class Summary

BaseUnitA primitive Unit of measurement (such as a meter).
BitOpsImplements logical (bit-wise) operations on infinite-precision integers.
CComplexGeneral Cartesian Complex number.
Complex
CQuantityGeneral Cartesian Complex quantity.
DComplexA complex number using rectangular (Cartesian) plain double values.
DFloNum
DimensionsA Dimensions object represents the product or ratio of BaseUnits.
DQuantityA Quantity represented as the product of a plain double and a Unit.
ExponentialFormatFormat a real number using a floating-point format.
FixedRealFormatFormat a real number using a fixed-point format.
IntFractionImplementation of exact rational numbers a ratio of two IntNums.
IntNumA class for infinite-precision integers.
NamedUnitA Unit that has a name.
Numeric
QuantityA quantity with a unit.
RatNumThe abstract class of rational numbers.
RealNum
Unit
Supports various numeric types, including complex numbers, efficient bignums, exact rational numbers, units.

This package is used by Kawa to provide the full Scheme "numeric tower".

Javadoc generated documentation of the class is available online.

License

See the file COPYING.

Author

Per Bothner <per@bothner.com>

How to get it

The gnu.bytecode is currently distributed as part of Kawa, though it can be used independent of the rest of Kawa.

Bugs and patches

Send them to per@bothner.com, or to the Kawa mailing list.