双倍经验和对数
Twofold exp and log
摘要:
这篇文章是关于双重算术的。在这里,我介绍了C/C++标准函数exp()和log()以及expm 1()和log 1 p()的双重变体的算法和实验代码。双重功能$y_0+y_1 \approx f(x_0+x_1)$接近2倍精度,因此可以评估标准功能的准确度。性能允许动态评估:通过GNU quadmath,double上的twofold texp()比expq()快约10倍。
英文摘要:
This article is about twofold arithmetic. Here I introduce algorithms and experimental code for twofold variant of C/C++ standard functions exp() and log(), and expm1() and log1p(). Twofold function $y_0+y_1 \approx f(x_0+x_1)$ is nearly 2x-precise so can assess accuracy of standard one. Performance allows assessing on-fly: twofold texp() over double is ~10x times faster than expq() by GNU quadmath.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。