English

A Prolog Specification of Giant Number Arithmetic

Programming Languages 2013-07-18 v1

Abstract

The tree based representation described in this paper, hereditarily binary numbers, applies recursively a run-length compression mechanism that enables computations limited by the structural complexity of their operands rather than by their bitsizes. While within constant factors from their traditional counterparts for their worst case behavior, our arithmetic operations open the doors for interesting numerical computations, impossible with traditional number representations. We provide a complete specification of our algorithms in the form of a purely declarative Prolog program.

Keywords

Cite

@article{arxiv.1307.4642,
  title  = {A Prolog Specification of Giant Number Arithmetic},
  author = {Paul Tarau},
  journal= {arXiv preprint arXiv:1307.4642},
  year   = {2013}
}

Comments

Proceedings of the 13th International Colloquium on Implementation of Constraint LOgic Programming Systems (CICLOPS 2013), Istanbul, Turkey, August 25, 2013

R2 v1 2026-06-22T00:53:06.648Z