bug-datamash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Improved random number generation


From: Shawn Wagner
Subject: [PATCH] Improved random number generation
Date: Wed, 27 May 2020 07:35:21 -0700

This one improves the rand operation -

it removes modulo bias from picking random numbers in favor of a true uniform distribution, and improves the seeding of the RNG by trying a few different ways to get quality random bits from the kernel before falling back on the old time and pid based seed, and a few other tweaks.

Attachment: 0001-Improved-random-number-generation.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]