Exact Short Products From Truncated Multipliers
Data Structures and Algorithms
2024-05-07 v1
Abstract
We sometimes need to compute the most significant digits of the product of small integers with a multiplier requiring much storage: e.g., a large integer (e.g., ) or an irrational number (). We only need to access the most significant digits of the multiplier-as long as the integers are sufficiently small. We provide an efficient algorithm to compute the range of integers given a truncated multiplier and a desired number of digits.
Keywords
Cite
@article{arxiv.2303.14321,
title = {Exact Short Products From Truncated Multipliers},
author = {Daniel Lemire},
journal= {arXiv preprint arXiv:2303.14321},
year = {2024}
}
Comments
Software at https://github.com/lemire/exactshortlib