arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.07245math.NT
收藏

用连分数进行计算

Computing with Continued Logarithms

Daniel H. Wagner Associates(Daniel H. Wagner 协会)

Michael J. Collins

AI总结:

本文提出了一种在连分数表示下高效计算三角函数、指数函数和对数函数的算法,相较于传统连分数运算,该方法更简洁且适合硬件实现。

摘要:

戈斯珀开发了一个用于对连分数(CFs)进行运算的算法,并引入了连分数(CLs)作为连分数的一种变体,更适合表示极大规模(或极小)的数字。CLs也更适合高效硬件实现。本文提出了用于CLs运算的算法,然后扩展到本文的新贡献,即用于在CLs上计算三角函数、指数函数和对数函数的算法。这些方法可以扩展到其他超越函数。与相应的CF算法相同,所有计算都在CL表示域内进行,没有浮点运算;我们逐个读取CL输入项,一旦确定下一个CL结果项就立即生成。实际上,CL算法比其CF对应物更简单。我们已经用Haskell实现了这些算法。

英文摘要:

Gosper developed an algorithm for performing arithmetic on continued fractions (CFs), and introduced continued logarithms (CLs) as a variant of continued fractions better suited to representing extremely large (or small) numbers. CLs are also well-suited to efficient hardware implementation. Here we present the algorithm for arithmetic on CLs, then extend it to the novel contribution of this paper, an algorithm for computing trigonometric, exponential, and log functions on CLs. These methods can be extended to other transcendental functions. As with the corresponding CF algorithms, computations are entirely in the domain of the CL representation, with no floating-point arithmetic; we read one CL input term at a time, producing the next CL term of the result as soon as it is determined. The CL algorithms are in fact simpler than their CF counterparts. We have implemented these algorithms in Haskell.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑