首页 | 本学科首页   官方微博 | 高级检索  
     


Sharp ULP rounding error bound for the hypotenuse function
Authors:Abraham Ziv.
Affiliation:IBM Israel, Science and Technology, Matam--Advanced Technology Center, Haifa 31905, Israel
Abstract:The hypotenuse function, $z=sqrt{x^2+y^2}$, is sometimes included in math library packages. Assuming that it is being computed by a straightforward algorithm, in a binary floating point environment, with round to nearest rounding mode, a sharp roundoff error bound is derived, for arbitrary precision. For IEEE single precision, or higher, the bound implies that $|overline z-z|<1.222, ulp(z)$ and $|overline z-z|<1.222, ulp(overline z)$. Numerical experiments indicate that this bound is sharp and cannot be improved.

Keywords:Rounding error   error analysis   relative error   error bound   floating point   ULP   hypotenuse function   math library
点击此处可从《Mathematics of Computation》浏览原始摘要信息
点击此处可从《Mathematics of Computation》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号