FORTRAN SOFTWARE CATALOG

Repository owner: Archaeologic-Inc

rngff

A common object-oriented interface to pseudorandom number generators.

Repository · Pinned source (8eccd1479f35) · Try in playground · Checked package example

GAMS classifications

About this package

Category
Random numbers
License
MIT

Topics: pseudorandom, random, random-number-generator, random-numbers, reproducibility, rng

Package dependencies

Resolved GitHub repositories used by the verified playground build, combining direct and indirect dependencies. This list does not describe internal module dependencies or native system libraries.

Required by this build

No additional GitHub package dependencies were recorded for this verified build.

Build record verified 2026-10-28.

Used by (0 selected packages)

No other selected build records this repository as a dependency. This is not a measure of usage outside the catalog.

Reviewed procedures

These mappings have pinned source evidence. A checked package example may exercise only some of them; source review is not a numerical benchmark.

linear_congruential_t%next

Module: rngff

L6a21

L6a21: verified

Derivatives / callbacks: not applicable

Combined linear congruential generator with explicit two-seed state. The real64 overload widens a real32 draw. The checked driver independently evaluates both modular recurrences in int64, verifies states and real32-rounded outputs for 1000 steps, and checks exact replay.

Pinned source: src/rngff/linear_congruential_m.f90

Author examples/tests: test/lcg_test.f90

Load checked GAMS driver: gams-rngff-lcg-reference-sequence