|
libstp
Robotics library for Botball
|
mulberry32 PRNG matching the JS golden-value harness exactly. More...
#include <differential_evolution.hpp>
Public Member Functions | |
| Rng (std::uint32_t seed) | |
| double | next () |
| Uniform double in [0, 1), bit-identical to the JS mulberry32. | |
mulberry32 PRNG matching the JS golden-value harness exactly.
Returns doubles in [0, 1). Identical integer arithmetic (32-bit wrapping, Math.imul semantics) guarantees bit-for-bit parity with the reference run.
Definition at line 36 of file differential_evolution.hpp.
|
inlineexplicit |
Definition at line 39 of file differential_evolution.hpp.
| double libstp::autotune::control::Rng::next | ( | ) |
Uniform double in [0, 1), bit-identical to the JS mulberry32.