Package org.firebirdsql.extern.decimal
Converts
BigDecimal
to and from IEEE-754r (IEEE-754-2008) decimal byte representations.
This package is a copy from the decimal-java project.
-
Class Summary Class Description Decimal<T extends Decimal<T>> Abstract base class for IEEE-754 decimals.Decimal128 An IEEE-754 Decimal128.Decimal32 An IEEE-754 Decimal32.Decimal64 An IEEE-754 Decimal64.DenselyPackedDecimalCodec Provides conversion between Densely Packed Decimal encoding andBigInteger
.Signum Signum constants used in decimal-java -
Enum Summary Enum Description DecimalType Type of decimal.OverflowHandling How to handle overflows when rounding (converting) to a target decimal type. -
Exception Summary Exception Description DecimalInconvertibleException Thrown to indicate a decimal value could not be converted to a target type (usuallyBigDecimal
).DecimalOverflowException Exception thrown to indicate a coefficient or exponent overflow or underflow.