Fast rounding in multiprecision floating-slash arithmetic

From MaRDI portal





A fixed length floating slash representation of a rational number consists of a fixed length array of integers, with sign and length information encoded in the first element. The next elements of the table are digits of the numerator and denominator of the number to some base b. In this representation the slash can float between elements and not between bits. A problem arises, when an operation result is too big for fixed length fractions. The author describes a computational algorithm which quickly rounds a large fraction into a fixed length floating slash representation. The algorithm uses the continued fraction representation of a number and an idea, which involves operating as long as possible only the most significant parts of the nominator and denominator of the number. This allows most of the iterations to be emulated using only single-precision operations.





Describes a project that uses

Uses Software






This page was built for publication: Fast rounding in multiprecision floating-slash arithmetic

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q3830419)