Giter VIP home page Giter VIP logo

cprng's Introduction

CPRNG

This repository contains data and code associated with the paper “Computationally easy, spectrally good multipliers for congruential pseudorandom number generators”, by Guy Steele and Sebastiano Vigna.

The directory src contains the code used to sample multipliers.

The directory python contains the Python code used to select the multipliers reported in the paper.

The databases of candidate multipliers are available at http://vigna.di.unimi.it/CPRNG.tar.bz2. (The size of the bzip2 file is approximately 14 gigabytes; the unzipped data is approximately 36 gigabytes.)

The databases contain, for each type, state size, and multiplier size, spectral scores (e.g., LCG-128-128 for spectral scores of 128-bit multipliers for LCGs with 128 bits of state) and lagged spectral scores (e.g., MCG-128-3-64 for 3-lagged scores of 64-bit multipliers for MCGs with 128 bits of state). For each multiplier we list the minimum score from dimension 2 to dimension 8, the harmonic score (see the paper) from dimension 2 to dimension 8, the multiplier in decimal and hexadecimal form, and finally the spectral scores from dimension 2 to dimension 8.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.