Elsevier Science Home
Computer Physics Communications Program Library
Full text online from Science Direct
Programs in Physics & Physical Chemistry
CPC Home

[Licence| Download | New Version Template] aaxu_v1_0.gz(27 Kbytes)
Manuscript Title: MISHA: a system for calculations with arbitrary arithmetic precision.
Authors: M. Rysavy
Program title: MISHA
Catalogue identifier: AAXU_v1_0
Distribution format: gz
Journal reference: Comput. Phys. Commun. 47(1987)351
Programming language: Fortran.
Computer: HP 1000.
Operating system: RTE 4B AND OS/21.8F.
RAM: 16K words
Word size: 16
Peripherals: disc.
Keywords: General purpose, High precision Calculation, Utility.
Classification: 4.14.

Nature of problem:
In certain applications the standard hardware precision of a computer may be insufficient. The present subroutine package makes it possible to perform calculations with any arithmetic precision, i.e. on any number of decimal digits. Both integer and floating-point arithmetic are included.

Solution method:
The calculations are based on the cental numeric system. Every variable (integer as well as floating-point) is stored in an integer array of proper length, each element of which contains one cental digit. The subroutines performing the particular arithmetic operations are coded according to the ordinary formulae for addition, multiplication, etc., and they utilize the hardware integer arithmetic.

The restriction on the precision is determined only by the computer storage and by the computer time.

Running time:
The running time depends on the precision required. More detailed information is given in section 7. The test run took about 17 minutes on both EC 1040 and HP 1000 computers.