Improving the Accuracy of the Fast Inverse Square Root by Modifying Newton-Raphson Corrections

被引:8
|
作者
Walczyk, Cezary J. [1 ]
Moroz, Leonid V. [2 ]
Cieslinski, Jan L. [1 ]
机构
[1] Uniwersytet Bialymstoku, Wydzial Fizyki, Ul Ciolkowskiego 1L, PL-15245 Bialystok, Poland
[2] Lviv Polytech Natl Univ, Dept Secur Informat & Technol, St Kn Romana 1-3, UA-79000 Lvov, Ukraine
关键词
approximation of functions; floating-point arithmetic; Newton– Raphson method; inverse square root; magic constant;
D O I
10.3390/e23010086
中图分类号
O4 [物理学];
学科分类号
0702 ;
摘要
Direct computation of functions using low-complexity algorithms can be applied both for hardware constraints and in systems where storage capacity is a challenge for processing a large volume of data. We present improved algorithms for fast calculation of the inverse square root function for single-precision and double-precision floating-point numbers. Higher precision is also discussed. Our approach consists in minimizing maximal errors by finding optimal magic constants and modifying the Newton-Raphson coefficients. The obtained algorithms are much more accurate than the original fast inverse square root algorithm and have similar very low computational costs.
引用
收藏
页码:1 / 21
页数:20
相关论文
共 50 条
  • [21] Multiobjective power dispatch with line flow constraints using the fast Newton-Raphson method
    Chen, JF
    Chen, SD
    IEEE TRANSACTIONS ON ENERGY CONVERSION, 1997, 12 (01) : 86 - 93
  • [22] Newton-Raphson Meets Sparsity: Sparse Learning Via a Novel Penalty and a Fast Solver
    Cao, Yongxiu
    Kang, Lican
    Li, Xuerui
    Liu, Yanyan
    Luo, Yuan
    Shi, Yueyong
    IEEE TRANSACTIONS ON NEURAL NETWORKS AND LEARNING SYSTEMS, 2024, 35 (09) : 12057 - 12067
  • [23] Fast error-correcting Newton-Raphson dividers using time shared TMR
    Gallagher, WL
    Swartzlander, EE
    1997 IEEE INTERNATIONAL SYMPOSIUM ON DEFECT AND FAULT TOLERANCE IN VLSI SYSTEMS, PROCEEDINGS, 1997, : 243 - 251
  • [24] Fast Differentiable Matrix Square Root and Inverse Square Root
    Song, Yue
    Sebe, Nicu
    Wang, Wei
    arXiv, 2022,
  • [25] Fast Differentiable Matrix Square Root and Inverse Square Root
    Song, Yue
    Sebe, Nicu
    Wang, Wei
    IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2023, 45 (06) : 7367 - 7380
  • [26] PARALLEL NEWTON-RAPHSON METHODS FOR UNCONSTRAINED MINIMIZATION WITH ASYNCHRONOUS UPDATES OF THE HESSIAN MATRIX OR ITS INVERSE
    LOOTSMA, FA
    LECTURE NOTES IN ECONOMICS AND MATHEMATICAL SYSTEMS, 1991, 367 : 1 - 18
  • [27] 7 DOF Manipulator Construction and Inverse Kinematics Calculation and Analysis using Newton-Raphson Method
    Lee, Seunghyeon
    Lee, Jonghak
    Bang, Jinuk
    Lee, Jangmyung
    2021 18TH INTERNATIONAL CONFERENCE ON UBIQUITOUS ROBOTS (UR), 2021, : 235 - 238
  • [28] Fast Fixed-Point Divider based on Newton-Raphson Method and piecewise polynomial approximation
    Rodriguez-Garcia, A.
    Pizano-Escalante, L.
    Parra-Michel, R.
    Longoria-Gandara, O.
    Cortez, J.
    2013 INTERNATIONAL CONFERENCE ON RECONFIGURABLE COMPUTING AND FPGAS (RECONFIG), 2013,
  • [29] Inverse determination of laser power on laser welding with a given width penetration by a modified Newton-Raphson method
    Quan Nguyen
    Yang, Ching-yu
    INTERNATIONAL COMMUNICATIONS IN HEAT AND MASS TRANSFER, 2015, 65 : 15 - 21
  • [30] A Newton-Raphson algorithm with adaptive accuracy control based on a block-preconditioned conjugate gradient technique
    Badics, Z
    Cendes, ZJ
    IEEE TRANSACTIONS ON MAGNETICS, 2005, 41 (05) : 1652 - 1655