面向向量化计算的实变量误差函数的全局近似
Global approximations to the error function of real argument for vectorized computation
AI总结:
该研究提出适用于实变量误差函数及互补误差函数的闭式全局近似式,可满足指定精度要求,实现代码向量化,最高支持128位精度,为向量化计算提供高效的误差函数近似方案。
摘要:
对于实变量的误差函数,可通过仅含加法、乘法、除法及平方根运算的单一闭式表达式,或结合指数函数的表达式,在整个变量范围内将其近似至给定的均匀相对精度;已制表给出最高128位精度的系数。采用标准单精度与双精度浮点算术的计算机代码实现测试显示其性能良好且具备向量化特性,同时还得到了互补误差函数的近似式,其中部分近似仅需加法、乘法及一次除法即可达到均匀绝对精度。
英文摘要:
The error function of real argument can be approximated to a given uniform relative accuracy by a single closed-form expression for the whole variable range either in terms of addition, multiplication, division, and square root operations only, or also using the exponential function. Approximations to the complementary error function have also been found, including those where either only additions, multiplications, and one division, or also the exponential, are used to reach either a uniform absolute, or a uniform relative, accuracy. The coefficients have been tabulated for up to 128-bit precision. Tests of a computer code implementation using the standard single- and double-precision floating-point arithmetic show good performance and vectorizability.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。