Approximate Reciprocal Square Root with Single - and Half-Precision Floats

  • Matheus M. Susin UNICAMP
  • Lucas Wanner UNICAMP

Abstract

In this work, we compared the precision, speed, and power consumption of the reciprocal square root of a single-precision floating point number, using different approximation techniques. We also devised an equivalent approximation for half-precision floating point numbers, and evaluated its performance across the whole range of positive non-zero 16-bit floating point values.

References

IEEE 754-2008 (2008). IEEE Standard for Floating-Point Arithmetic. IEEE Std 754-2008.

Kushner, D. (2002). The wizardry of id. IEEE Spectrum, pages 42–47.

McEniry, C. (2007). The mathematics behind the fast inverse square root function code.

Rau, C. (accessed on 2017-11-16). IEEE 754-based half-precision floating point library. https://half.sourceforge.net/.
Published
2018-04-13
How to Cite
SUSIN, Matheus M.; WANNER, Lucas. Approximate Reciprocal Square Root with Single - and Half-Precision Floats. Proceedings of the Regional School of High Performance Computing from São Paulo (ERAD-SP), [S.l.], p. 49-52, apr. 2018. ISSN 0000-0000. Available at: <https://sol.sbc.org.br/index.php/eradsp/article/view/13600>. Date accessed: 17 may 2024. doi: https://doi.org/10.5753/eradsp.2018.13600.

Most read articles by the same author(s)

1 2 > >>