Skip to main content

New Implementations of the Spectral Test

Hopkins, Tim (1997) New Implementations of the Spectral Test. Technical report. University of Kent

Other (zip)
Download (52kB)
Download (167kB) Preview
Download (126kB) Preview


We present three versions of the revised spectral test for the analysis of liner congruential random number generators. One is a Fortran 90 version of the code presented in ~citeHopkins83 which extends the range of integer arithmetic operations by performing the arithmetic using floating-point numbers. The range of modulus values which may be analyzed is determined by the length of the mantissa. The other two implementations use the multiple precision arithmetic facilities provided by the Fortran 90 package, mpfun~citeBailey and the Unix program emphbc (a version of this program is freely available from GNU). Both these allow arbitrary values of the modulus to be analyzed notwithstanding the underlying integer and floating-point hardware.

Item Type: Monograph (Technical report)
Uncontrolled keywords: Fortran 90, mpfun, bc, multiple precision arithmetic
Subjects: Q Science > QA Mathematics (inc Computing science) > QA 76 Software, computer programming,
Divisions: Faculties > Sciences > School of Computing > Systems Architecture Group
Depositing User: Mark Wheadon
Date Deposited: 30 Jul 2009 16:30 UTC
Last Modified: 28 May 2019 14:00 UTC
Resource URI: (The current URI for this page, for reference purposes)
  • Depositors only (login required):


Downloads per month over past year