Egyptian multiplication and some of its ramifications

01/30/2019
by   M. H. van Emden, et al.
0

Fast exponentiation with an integer exponent relies on squaring of the base being compensated by halving the exponent when even. Likewise one can raise to a fractional power where doubling the exponent is compensated by taking the square root of the base. The same phenomena recur when multiplying by repeated addition ("Egyptian multiplication"). Its counterpart is to effect division by repeated subtraction ("Egyptian division"). Logarithms can be obtained by inverting the algorithm for fractional powers. Algorithms for these tasks are collected here for comparison. They are presented as verified C code or as verification conditions in the sense of Floyd. An appendix contains an introduction to Floyd's verification conditions.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/05/2019

Faster Remainder by Direct Computation: Applications to Compilers and Software Libraries

On common processors, integer multiplication is many times faster than i...
research
07/13/2023

Faster Rectangular Matrix Multiplication by Combination Loss Analysis

Duan, Wu and Zhou (FOCS 2023) recently obtained the improved upper bound...
research
09/24/2020

Exponent of Cyclic Codes over 𝔽_q

In this article, we introduce and study the concept of the exponent of a...
research
04/20/2016

Decoding Interleaved Gabidulin Codes using Alekhnovich's Algorithm

We prove that Alekhnovich's algorithm can be used for row reduction of s...
research
12/10/2019

Inverse LDM' and LU Factorizations of a Partitioned Matrix with the Square-root and Division Free Version for V-BLAST

This letter proposes the inverse LDM' and LU factorizations of a matrix ...
research
07/22/2023

A Refinement of Expurgation

We show that with probability that tends to 1 with the code length, expu...
research
12/03/2015

Introduction of the Residue Number Arithmetic Logic Unit With Brief Computational Complexity Analysis

Digital System Research has pioneered the mathematics and design for a n...

Please sign up or login with your details

Forgot password? Click here to reset