arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2107.12550cs.MScs.NAcs.PFmath.NA
收藏

Python环境下加速多精度直接法和混合精度迭代求精

Accelerated Multiple Precision Direct Method and Mixed Precision Iterative Refinement on Python Programming Environment

Tomonori Kouya

摘要:

目前的Python编程环境没有任何可靠和有效的多精度浮点(MPF)算法,除了基于GNU MP(GMP)和MPFR库的``mpmath”和`` gmpy 2”包。虽然多组件类型的MPF库可以用于200位以下的中等长度精度运算,但它们在Python环境中并没有得到广泛的应用。本文描述了我们的加速MPF直接方法与AVX 2技术及其应用于混合精度迭代精化结合mpmath,并证明了他们的效率在x86 - 64计算环境。

英文摘要:

Current Python programming environment does not have any reliable and efficient multiple precision floating-point (MPF) arithmetic except ``mpmath" and ``gmpy2" packages based on GNU MP(GMP) and MPFR libraries. Although it is well known that multi-component-type MPF library can be utilized for middle length precision arithmetic under 200 bits, they are not widely used on Python environment. In this paper, we describe our accelerated MPF direct method with AVX2 techniques and its application to mixed precision iterative refinement combined with mpmath, and demonstrate their efficiency on x86\_64 computational environments.

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

↑