Skip to main content

Module precision

Module precision 

Source
Expand description

Fixed-point intermediate results: how many integer and decimal places IBM carries for each operation, and exact arithmetic that drops exactly the digits it drops. See crate::assumptions::INTERMEDIATE_TABLE.

Structs§

Fixed
A fixed-point value: magnitude × 10^-places.dec, with the places it is declared to hold.
Places

Enums§

ArithError

Functions§

carried
The places carried for an intermediate result ir. dmax is the most decimal places among the statement’s receivers and its operands other than divisors and exponents.
product_places
quotient_places
sum_places