(seed: number)
| 26 | // See `docs/RANDOMNESS-MODEL.md` §2 and §4. The |
| 27 | // n-th draw of a `WithRandomSeed` frame is a PURE function of the seed and the |
| 28 | // draw index: `hash(seed, n)`, with no mutable stream state. That is what lets |
| 29 | // the interpreter, the JS target and (as f32) the GPU targets agree. |
| 30 | // |
| 31 | // The seed→stream mapping is a CROSS-VERSION CONTRACT: changing any constant |
| 32 | // or operation order below re-randomizes every stored document. It is pinned |
| 33 | // by `test/compute-engine/random-vectors.test.ts`. |
| 34 | // |
| 35 | |
| 36 | /** |
no outgoing calls
no test coverage detected