Linear congruential generator for random number generating that can be seeded.
Follows the implementation of include/tvm/support/random_engine.h, which follows the specification in https://en.cppreference.com/w/cpp/numeric/random/linear_congruential_engine.
include/tvm/support/random_engine.h
Note Number.MAX_SAFE_INTEGER = 2^53 - 1, and our intermediates are strictly less than 2^48.
Number.MAX_SAFE_INTEGER = 2^53 - 1
Linear congruential generator for random number generating that can be seeded.
Follows the implementation of
include/tvm/support/random_engine.h, which follows the specification in https://en.cppreference.com/w/cpp/numeric/random/linear_congruential_engine.Note
Number.MAX_SAFE_INTEGER = 2^53 - 1, and our intermediates are strictly less than 2^48.