2 prototypes ensureNamespace: #benchmark &delegate: True.
4 benchmark define: #RandomNumber &slots: {
13 r@(benchmark RandomNumber traits) next
15 r seed: (r seed) * (r multiplier) + (r increment) \\ (r modulus).
16 (((r seed) * (r scale)) as: Float) / (r fmodulus)
19 r@(benchmark RandomNumber traits) to: i@(Integer traits) repeat: n@(Integer traits)
21 r `>> [seed: 42. scale: i].
22 n - 1 timesRepeat: [r next].