Affiliation:
1. Naval Postgraduate School, Monterey, CA
Abstract
We develop fast and accurate algorithms for evaluating √x
2
+y
2
for two floating-point numbers
x
and
y
. Library functions that perform this computation are generally named hypot(x,y). We compare five approaches that we will develop in this article to the current resident library function that is delivered with Julia 1.1 and to the code that has been distributed with the C math library for decades. We will investigate the accuracy of our algorithms by simulation.
Publisher
Association for Computing Machinery (ACM)
Subject
Applied Mathematics,Software
Cited by
3 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Accurate complex Jacobi rotations;Journal of Computational and Applied Mathematics;2024-11
2. Floating-point arithmetic;Acta Numerica;2023-05
3. Accurate Calculation of Euclidean Norms Using Double-word Arithmetic;ACM Transactions on Mathematical Software;2023-03-21