Fast Compensated Algorithms for the Reciprocal Square Root, the Reciprocal Hypotenuse, and Givens Rotations

02/23/2021
by   Carlos F. Borges, et al.
0

The reciprocal square root is an important computation for which many very sophisticated algorithms exist (see for example <cit.> and the references therein). In this paper we develop a simple differential compensation (much like those developed in <cit.>) that can be used to improve the accuracy of a naive calculation. The approach relies on the use of the fused multiply-add (FMA) which is widely available in hardware on a variety of modern computer architectures. We then demonstrate how to combine this approach with a somewhat inaccurate but fast square root free method for estimating the reciprocal square root to get a method that is both fast (in computing environments with a slow square root) and, experimentally, highly accurate. Finally, we show how this same approach can be extended to the reciprocal hypotenuse calculation and, most importantly, to the construction of Givens rotations.

READ FULL TEXT
research
12/28/2021

A Correctly Rounded Newton Step for the Reciprocal Square Root

The reciprocal square root is an important computation for which many so...
research
02/17/2018

Improving the accuracy of the fast inverse square root algorithm

We present improved algorithms for fast calculation of the inverse squar...
research
03/14/2016

Fast calculation of inverse square root with the use of magic constant - analytical approach

We present a mathematical analysis of transformations used in fast calcu...
research
10/12/2017

Reduction of Look Up Tables for Computation of Reciprocal of Square Roots

Among many existing algorithms, convergence methods are the most popular...
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
05/02/2023

Computing Free Convolutions via Contour Integrals

This work proposes algorithms for computing additive and multiplicative ...
research
07/31/2019

An Elastic Energy Minimization Framework for Mean Surface Calculation

As the continuation of the contour mean calculation - designed for avera...

Please sign up or login with your details

Forgot password? Click here to reset