Improving the accuracy of the fast inverse square root algorithm

02/17/2018
by   Cezary J. Walczyk, et al.
0

We present improved algorithms for fast calculation of the inverse square root for single-precision floating-point numbers. The algorithms are much more accurate than the famous fast inverse square root algorithm and have the same or similar computational cost. The main idea of our work consists in modifying the Newton-Raphson method and demanding that the maximal error is as small as possible. Such modification is possible when the distribution of Newton-Raphson corrections is not symmetric (e.g., if they are non-positive functions).

READ FULL TEXT

page 1

page 2

page 3

page 4

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
04/09/2022

An Improved Integer Modular Multiplicative Inverse (modulo 2^w)

This paper presents an algorithm for the integer multiplicative inverse ...
research
03/11/2020

An Improved Square-root Algorithm for V-BLAST Based on Efficient Inverse Cholesky Factorization

A fast algorithm for inverse Cholesky factorization is proposed, to comp...
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/23/2021

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

The reciprocal square root is an important computation for which many ve...
research
04/05/2020

Nonlinear Function Inversion using k-vector

This work introduces a general numerical technique to invert one dimensi...
research
07/28/2023

Generalising the Fast Reciprocal Square Root Algorithm

The Fast Reciprocal Square Root Algorithm is a well-established approxim...

Please sign up or login with your details

Forgot password? Click here to reset