A SET OF ADA PACKAGES FOR HIGH-PRECISION CALCULATIONS

Citation
Bgs. Doman et al., A SET OF ADA PACKAGES FOR HIGH-PRECISION CALCULATIONS, ACM transactions on mathematical software, 21(4), 1995, pp. 416-431
Citations number
10
Categorie Soggetti
Computer Sciences",Mathematics
ISSN journal
00983500
Volume
21
Issue
4
Year of publication
1995
Pages
416 - 431
Database
ISI
SICI code
0098-3500(1995)21:4<416:ASOAPF>2.0.ZU;2-K
Abstract
The packages described here are designed to perform efficient high-acc uracy calculations in cases where there can be serious loss of signifi cance due to rounding errors. Numbers are represented by a value part with a variable number of digits in the mantissa and an error estimate which is updated throughout the calculation and which gives a range o f possible values for the result of the calculation. For economy and s peed, intermediate results are truncated so that the least-significant digits correspond to values only a few orders of magnitude smaller th an the error estimate. Type definitions and the standard arithmetic op erations, together with conversions to and from integers, are provided in one package. The mathematical constants pi and Euler's gamma are i ncorporated to a maximum precision of 320 digits in a package that als o contains all of the standard elementary functions. Separate packages contain input and output procedures and conversion to and from floati ng-point types.