Analysis of the GCR method with mixed precision arithmetic using QuPAT

Tsubasa Saito, Emiko Ishiwata, Hidehiko Hasegawa
2012 Journal of Computational Science  
To verify computation results of double precision arithmetic, a high precision arithmetic environment is needed. However, it is difficult to use high precision arithmetic in ordinary computing environments without any special hardware or libraries. Hence, we designed the quadruple precision arithmetic environment QuPAT on Scilab to satisfy the following requirements: (i) to enable programs to be written simply using quadruple precision arithmetic; (ii) to enable the use of both double and
more » ... ple precision arithmetic at the same time; (iii) to be independent of any hardware and operating systems. To confirm the effectiveness of QuPAT, we applied the GCR method for ill-conditioned matrices and focused on the scalar parameters α and β in GCR, partially using DD arithmetic. We found that the use of DD arithmetic only for β leads to almost the same results as when DD arithmetic is used for all computations. We conclude that QuPAT is an excellent interactive tool for using double precision and DD arithmetic at the same time.
doi:10.1016/j.jocs.2011.05.001 fatcat:s6ff5kwfbzeazhjr6fodv4fdce