Expand description
§Decimal Floating-Point Math Library
Structs§
- BidUint128
- A 128-bit decimal floating-point number represented in binary format.
- BidUint192
- 256-bit decimal floating-point in binary format.
- BidUint256
- 256-bit decimal floating-point in binary format.
Constants§
- BID_
DENORMAL_ EXCEPTION - Denormal exception.
- BID_
EXACT_ STATUS - Flag indicating no exceptions.
- BID_
INEXACT_ EXCEPTION - Inexact exception.
- BID_
INVALID_ EXCEPTION - Invalid exception.
- BID_
NO_ EXCEPTION - No exception.
- BID_
OVERFLOW_ EXCEPTION - Overflow exception.
- BID_
OVERFLOW_ INEXACT_ EXCEPTION - Overflow inexact exception.
- BID_
ROUNDING_ DOWN - Rounding towards minus infinity.
- BID_
ROUNDING_ TIES_ AWAY - Rounding away from zero.
- BID_
ROUNDING_ TO_ NEAREST - Rounding to nearest.
- BID_
ROUNDING_ TO_ ZERO - Rounding towards zero.
- BID_
ROUNDING_ UP - Rounding towards plus infinity.
- BID_
UNDERFLOW_ EXCEPTION - Underflow exception.
- BID_
UNDERFLOW_ INEXACT_ EXCEPTION - Underflow inexact exception.
- BID_
ZERO_ DIVIDE_ EXCEPTION - Zero divide exception.
Functions§
- bid128_
add - Adds two 128-bit decimal floating-point values.
- bid128_
div - Divides two 128-bit decimal floating-point values.
- bid128_
fma - FMA.
- bid128_
from_ int32 - Converts signed 32-bit integer into 128-bit decimal floting-point value.
- bid128_
from_ string - Converts a value represented in string format (decimal character sequence) to 128-bit decimal floating-point format (binary encoding).
- bid128_
is_ zero - Returns
true
if value iszero
(+0 or -0). - bid128_
mul - Multiplies two 128-bit decimal floating-point values.
- bid128_
sub - Subtracts two 128-bit decimal floating-point values.
- bid128_
to_ string - Converts a 128-bit decimal floating-point value (binary encoding) to string format (decimal character sequence).