core: call Random.reseed at program start

This commit is contained in:
hellerve 2020-10-14 15:31:26 +02:00
parent 772051ede9
commit 1e04da3dac

View File

@ -26,6 +26,11 @@
(do
(set! s (mod (+ (* s a) c) m))
(/ s m)))
(private _)
(hidden _)
(doc _ "forces reseeding based on the current time at program start")
(def _ (do (seed) 0))
)
(defmodule Int