AlgorithmsNumerics & probabilityEdit on GitHubEdit history
Subtract-with-Borrow Generator
add-with-carry generator, subtract-with-carry1991
A family of pseudorandom generators that adds a borrow (or carry) bit to a lagged Fibonacci recurrence, as in x_n = x_{n−s} − x_{n−r} − c_{n−1} (mod b), to obtain very long periods. The C++ standard's subtract_with_carry_engine implements it.
Origin
George Marsaglia, Arif Zaman (1991). A New Class of Random Number Generators. The Annals of Applied Probability 1(3).doi:10.1214/aoap/1177005878 — checked against Crossref, 2026-11-08
Lineage
Algorithms 2 · Relations 1
Derived algorithms
What it led to
RANLUX1994
Author statementLüscher's RANLUX is the Marsaglia–Zaman subtract-with-borrow generator with part of its output discarded to reduce correlations — doi:10.1016/0010-4655(94)90232-1
Notable implementations
Paths checked against the GitHub default branch
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…