Article :Browse 115 Download 143
Received:April 17, 2019 Revised:July 21, 2019
Received:April 17, 2019 Revised:July 21, 2019
Abstract:As a basic component of software, the correct running of cyclic iteration program is of great significance. However, sometimes (e.g., when its NID is greater than 0) the rounding error (or representation error) in the calculation can lead to unstable results of the cyclic iteration. Based on the computing technology of “automatic dynamic adjustment of intermediate calculation accuracy”, a reliable calculation algorithm for cyclic iteration is presented in this paper. By using this algorithm, the value of arbitrary precision of cyclic iteration can be obtained. At present, the algorithm has been programmed and implemented in ISReal through C++ language.
Foundation items:National Key Research and Development Program of China (2017YFB1001800); National Natural Science Foundation of China (61772203, 61972150, 61876034)
Reference text:
ZHAO Shi-Zhong,CHEN Dong-Huo,LIU Jing.Reliable Algorithm for Computing Cyclic Iterative Program.Journal of Software,2020,31(12):3685-3699
ZHAO Shi-Zhong,CHEN Dong-Huo,LIU Jing.Reliable Algorithm for Computing Cyclic Iterative Program.Journal of Software,2020,31(12):3685-3699