Multiple Precision Complex Arithmetic and Functions
Multiple Precision Complex Arithmetic and Functions
复制标题
多精度复杂算术和函数
DOI:
--
复制
发表时间:
1998
期刊:
影响因子:
--
通讯作者:
Loyola Marymount
中科院分区:
文献类型:
--
作者:
David M. Smith;Loyola Marymount
The ZM package is a collection of Fortran subroutines that performs floating point multiple precision evaluation of complex arithmetic and elementary functions. These routines use the FM package [Smith 1991] for real multiple precision arithmetic, constants, and elementary functions. Brent’s MP package [Brent 1978] did not support complex arithmetic, and Bailey’s more recent MP package [Bailey 1993; Bailey 1995] provides complex arithmetic and some complex elementary functions, and contains a Fortran-90 module defining multiple precision derived types. ZM also provides a Fortran-90 module that defines three multiple precision data types and provides the interface routines for overriding arithmetic operators and intrinsic Fortran-90 functions. This allows a program to declare variables as multiple precision real, integer, or complex, and then to describe operations on these variables using the normal syntax for arithmetic expressions. ZM versions are available for the numerical Fortran-90 intrinsic functions, and they provide good speed, rounding, and exception handling. They support flexible input and output conversion, and have the capability for automatic tracing of arithmetic and functions.