#tips on getting a random seed with time?

1 messages · Page 1 of 1 (latest)

pseudo gulch
#

get the current time, modulo std.math.maxInt(u32), and then bitCast to i32?

#

I'm not quite sure what you're asking

#

how would it overflow?

#

if you modulo to fit within the range