tandem rng tandem-ml GitHub

Tests

dune build @all @runtest

Suite

dune build @all @runtest runs four suites: vectors (every spec vector), streams (Julia dumps as fills and scalar draws), conformance and derived (everything else above).

Fixtures

test/conformance/*.json are byte copies of tandem-spec 2a4bd08 conformance/*.json, and CI compares them with the spec. python3 tools/gen_vectors.py ../tandem-spec/vectors.json > test/vectors_data.ml converts the spec vectors. The f64 part of tandem-c's tools/dump_exponentials.c hashes to 0x8cb6728a73181814, and the full dump to 0x1c761a2d471073c2 as tandem-c records.

CI

CI runs opam exec -- dune build @all @runtest on ubuntu-latest and macos-latest with OCaml 5.5 and 5.4.