Long rational and Gaussian integer multiplication
Abstract
Long integer multiplication is a fundamental operation in computational algebra, heavily relying on Toom--Cook and related evaluation-interpolation algorithms. Conventional wisdom dictates that multiplication on the Gaussian integers ℤ[i] is reduced to standard rational integer multiplication, since ℤ[i] is a ring extension of ℤ. We show that this approach is far from optimal and moreover inverting this established paradigm, that is reducing rational to Gaussian multiplication, leads to faster rational integer multiplication algorithms. We introduce a novel Toom--Cook framework that reduces rational long integer multiplication to Gaussian integer multiplication, yielding a strictly more efficient computational pipeline. By taking advantage of the special properties of the rational integer domain inside the Gaussian integers, we achieve a more favourable algebraic structure that reduces the overall arithmetic cost in every metric. To validate this theoretical shift, we provide a complete implementation of our algorithm. Benchmarks demonstrate that our approach outperforms the highly optimised GNU Multiple Precision Arithmetic Library (GMP) by up to 29\%, bridging a fundamental theoretical insight with significant practical improvements in high-performance computer algebra.
Related
- Iso-Multiplication Modules over Noncommutative Rings: Triangular Classification and Rational Rigidity
- On p-adic modularity of abelian threefolds with imaginary multiplication and rational p-isogeny
- Optimal local convergence criteria for integer and Gaussian integer continued fractions
- A Non-Asymptotic Gaussian Likelihood Theory for Long-Memory Toeplitz Models
- Delocalisation and scaling limit for the disordered long-range Discrete Gaussian Chain
BibTeX
@misc{spiizer2026long,
title = {{Long rational and Gaussian integer multiplication}},
author = {Yuval Spiizer and Raphael S. Steiner},
howpublished = {arXiv},
year = {2026},
month = nov,
doi = {10.48550/arxiv.2611.18028},
eprint = {2611.18028},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2611.18028},
}
RIS
TY - UNPB
TI - Long rational and Gaussian integer multiplication
AU - Yuval Spiizer
AU - Raphael S. Steiner
PY - 2026
DA - 2026/11/13
PB - arXiv
DO - 10.48550/arxiv.2611.18028
UR - https://arxiv.org/abs/2611.18028
AB - Long integer multiplication is a fundamental operation in computational algebra, heavily relying on Toom--Cook and related evaluation-interpolation algorithms. Conventional wisdom dictates that multiplication on the Gaussian integers ℤ[i] is reduced to standard rational integer multiplication, since ℤ[i] is a ring extension of ℤ. We show that this approach is far from optimal and moreover inverting this established paradigm, that is reducing rational to Gaussian multiplication, leads to faster rational integer multiplication algorithms. We introduce a novel Toom--Cook framework that reduces rational long integer multiplication to Gaussian integer multiplication, yielding a strictly more efficient computational pipeline. By taking advantage of the special properties of the rational integer domain inside the Gaussian integers, we achieve a more favourable algebraic structure that reduces the overall arithmetic cost in every metric. To validate this theoretical shift, we provide a complete implementation of our algorithm. Benchmarks demonstrate that our approach outperforms the highly optimised GNU Multiple Precision Arithmetic Library (GMP) by up to 29\%, bridging a fundamental theoretical insight with significant practical improvements in high-performance computer algebra.
ER -