GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Algebra
  • Applied Mathematics
  • Calculus and Analysis
  • Discrete Mathematics
  • Foundations of Mathematics
  • Geometry
  • History and Terminology
  • Number Theory
  • Probability and Statistics
  • Recreational Mathematics
  • Topology
  • Alphabetical Index
  • Random Entry
  • New in MathWorld

This view

  • Original page
  • New address

GeezerVison is showing mathworld.wolfram.com — Schrage's Algorithm -- from Wolfram MathWorld

Search

Schrage's Algorithm


An algorithm for multiplying two 32-bit integers modulo a 32-bit constant without using any intermediates larger than 32 bits. It is also useful in certain types of random number generators.


Explore with Wolfram|Alpha

WolframAlpha

More things to try:

  • (1/2 - 1/3) / (1/4 + 1/5)
  • color separate Camelotia borealis image
  • lim (sin x - x)/x^3 as x->0

References

Bratley, P.; Fox, B. L.; and Schrage, L. E. A Guide to Simulation, 2nd ed. New York: Springer-Verlag, 1996.Press, W. H.; Flannery, B. P.; Teukolsky, S. A.; and Vetterling, W. T. "Random Numbers." Ch. 7 in Numerical Recipes in FORTRAN: The Art of Scientific Computing, 2nd ed. Cambridge, England: Cambridge University Press, p. 269, 1992.Schrage, L. "A More Portable Fortran Random Number Generator." ACM Trans. Math. Software 5, 132-138, 1979.

Referenced on Wolfram|Alpha

Schrage's Algorithm

Cite this as:

Weisstein, Eric W. "Schrage's Algorithm." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/SchragesAlgorithm.html

Subject classifications

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.