Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

Multiple precision integer operation package for CDC 6600 and 7600

Technical Report ·
OSTI ID:6380408

A package of FORTRAN codes was developed for certain multiple-precision integer operations. These operations include basic arithmetic, modular exponentiation, and conversion of numbers to and from decimal representation. The package is specialized to run on the CDC 6600 or 7600. It is not portable due to the fact that it uses the CDC-supported Boolean intrinsic functions. Both efficiency and reliability were achieved in the package. Efficiency was achieved by exploiting the intrinsic Boolean functions (MASH( ), and ( ), etc.) in the implementation of the arithmetic. Reliability is maintained by cross-checking both the lengths of internal working storage arrays against the requirements of the operations, and the size and sign of the internal representation of the digits. The following subroutines are listed: MPADD, INTPLS, INTMIN, MPSUB, MPMULT, INTPRD, MPDIVR, INTQRM, MPMDEX, IGET, MPDTOB, MPBTOD, MPCOPY, MPCHK, and MPINIT. 15 figures

Research Organization:
Sandia Labs., Albuquerque, NM (USA)
DOE Contract Number:
EY-76-C-04-0789
OSTI ID:
6380408
Report Number(s):
SAND-79-0069
Country of Publication:
United States
Language:
English