retroforth/vm/nga-python/RNGDevice.py
crc 1b0fa54eef nga-python: commit updates to class-based vm implementation
FossilOrigin-Name: f6f51a35193443a3fb5735b5cf742b82bafd9810aab098fe9376847ac948b4b1
2020-12-02 20:18:58 +00:00

3 lines
116 B
Python

class RNG:
def __call__(self, seed=None, new_seed=True):
return random.randint(-2147483647, 2147483646)