Implementation and application of extended precision in Matlab

  • Authors:
  • Z. L. Krougly;D. J. Jeffrey

  • Affiliations:
  • Department of Statistical & Actuarial Sciences, The University of Western Ontario, London, Ontario, Canada;Applied Mathematics, The University of Western Ontario, London, Ontario, Canada

  • Venue:
  • MMACTEE'09 Proceedings of the 11th WSEAS international conference on Mathematical methods and computational techniques in electrical engineering
  • Year:
  • 2009

Quantified Score

Hi-index 0.01

Visualization

Abstract

A multiple precision library for floating-point calculations to any number of digits has been implemented in Matlab. The library is based on the ARPREC library. One application is discussed in detail, namely the evaluation in the complex plane of special functions in regions of bad conditioning. Through the use of Matlab classes, all the basic arithmetic operations are accessible using Matlab syntax, even though the fundamental operations are coded in C++. Arithmetic supports both real and complex data to arbitrary precision. The level of the precision being used can be changed at any time. Many elementary functions are also available in Matlab syntax, although not all of them are offered for complex arguments.