The arithmetic of recursively run-length compressed natural numbers

被引:0
作者
Tarau, Paul [1 ]
机构
[1] Department of Computer Science and Engineering, University of North Texas
来源
Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) | 2014年 / 8687卷
关键词
Arithmetic algorithms for giant numbers; Hereditary numbering systems; Representation complexity of natural numbers; Run-length compressed numbers;
D O I
10.1007/978-3-319-10882-7_24
中图分类号
学科分类号
摘要
We study arithmetic properties of a new tree-based canonical number representation, recursively run-length compressed natural numbers, defined by applying recursively a run-length encoding of their binary digits. We design arithmetic operations with recursively run-length compressed natural numbers that work a block of digits at a time and are limited only by the representation complexity of their operands, rather than their bitsizes. As a result, operations on very large numbers exhibiting a regular structure become tractable. In addition, we ensure that the average complexity of our operations is still within constant factors of the usual arithmetic operations on binary numbers. © Springer International Publishing Switzerland 2014.
引用
收藏
页码:406 / 423
页数:17
相关论文
共 3 条