shithub: femtolisp

Download patch

ref: 16b97941fec5926f377b200780c4cfcf51f02173
parent: b9a42023aab3946ae6e1625cc430af8842c4fdf3
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Sat Nov 2 21:58:53 EST 2024

randomize: don't use seconds but rather milliseconds

--- a/random.c
+++ b/random.c
@@ -32,6 +32,6 @@
 void
 randomize(void)
 {
-	unsigned long long tm = sec_realtime();
+	unsigned long long tm = sec_realtime() * 1000.0;
 	init_by_array64(&ctx, &tm, 1);
 }