Work

Python プログラミング環境における多倍長精度数値計算について

Year: 2020
Type: article
Abstract: Multiple precision numerical computing is currently one of critical techniques, which can be applied to ill conditioned problems or severe cases required to be able to guarantee enough accuracy of numerical results. On the other hand, Python environment is used for AI technique such as deep-learning which uses short length floating-point arithmetic such as IEEE754-1985 half-precision (binary16) or bfloat16 proposed by Intel in order to obtain the best performance. Therefore, multiple precision floating-point arithmetic in Python are not currently gotten attention. In this paper, we introduce examples of ill conditioned problems, show some methods to evaluate effect by round-off errors, and then explain the examples with multiple precision library such as mpmath and gmpy2. Finally, we show that RDD library, which is our original multi-component multiple precision arithmetic library available on Python or C environment, can get the best high performance for 2 to 4 times longer precision arithmetic than binary64 compared with mpmath and gmpy2.
Language: Japanese
Open Access status: green
OpenAlex ID: W7145219917
FWCI: 0.178
Cites: 5
Cited by: 1
Related to: 10