Re: The POSIX random-number generator
Keith Marshall <[email protected]> Tue, 25 May 2021 22:37:50 +0100
| Newsgroups | gmane.comp.gnu.mingw.user |
|---|---|
| Organization | MinGW.org Project |
| Message-ID | <[email protected]> |
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============8311032659265054683== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="veguS85dTxXRySnQjF2MoY2WGpagA5Y0o" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --veguS85dTxXRySnQjF2MoY2WGpagA5Y0o Content-Type: multipart/mixed; boundary="HsRXetKtP9eYtCTNCx4cpR3cmajTPtNqB"; protected-headers="v1" From: Keith Marshall <[email protected]> Reply-To: keith.d.marshall-XZoyATsUNX5Wk0Htik3J/[email protected] To: [email protected] Message-ID: <8389a418-2105-8065-8887-c9d450787417-JlWs9+JhQMeJPt80KsDg5Q@public.gmane.org> Subject: Re: [MinGW-Users] The POSIX random-number generator References: <20210328174329.a820f267d66c641f83a6df60-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> <81d8a1a7-3c1d-f4ae-5eff-342f1c5cae5f-JlWs9+JhQMeJPt80KsDg5Q@public.gmane.org> <e6a35e04-75cd-7206-0569-d1754070736d-JlWs9+JhQMeJPt80KsDg5Q@public.gmane.org> <837dld9oym.fsf-mXXj517/[email protected]> In-Reply-To: <837dld9oym.fsf-mXXj517/[email protected]> --HsRXetKtP9eYtCTNCx4cpR3cmajTPtNqB Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 08/04/2021 09:10, Eli Zaretskii wrote: >> From: Keith Marshall <[email protected]> >> Date: Wed, 7 Apr 2021 21:54:28 +0100 >> >> Notwithstanding my reluctance to support this, FWIW I did find >> >> https://www.mathstat.dal.ca/~selinger/random/ >> >> from which, with hints from the GNULIB random_r.c implementation[1], >> I've derived the attached patch. >> >> While I still will not attest to the statistical reliability of this, = if >> you would care to submit a formal feature request[2], and there is >> sufficient interest expressed, (by way of up-votes), I may consider >> incorporation into libmingwex.a, subject to a requirement for the call= er >> to define either _XOPEN_SOURCE >=3D 500, or _BSD_SOURCE, before includ= ing >> <stdlib.h>, to expose the API declarations. >=20 > Thank you, Keith. If and when such a feature request is submitted, it > will definitely get my up-vote. Yet, no one (not even the OP) seems to be sufficiently interested, to actually file the feature request. Maybe I should just go ahead and add it, regardless? --=20 Regards, Keith. Public key available from keys.gnupg.net Key fingerprint: C19E C018 1547 DE50 E1D4 8F53 C0AD 36C6 347E 5A3F --HsRXetKtP9eYtCTNCx4cpR3cmajTPtNqB-- --veguS85dTxXRySnQjF2MoY2WGpagA5Y0o Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEEwZ7AGBVH3lDh1I9TwK02xjR+Wj8FAmCtbi4FAwAAAAAACgkQwK02xjR+Wj9Z UhAAuma/R/OgOAREmmbCvcXVhRIG0ofnYO/uAyJVcKfq158HS6Yn+/gTM/72hZbpFq0UID51sfYb 596oPZHM33mT1m/Wv5fyk/KRkr+nzSv1C74BM35ZWj9rGvHaRi5Zcyx/IWntWS6/2TQ8+8IVH/m6 ABmmAreh2TaKO4c6v2T2OHiWF1FNQqZuw6OLQwUnn3Dvsw5USGiZjWgcB7srLcjL7eMokv4GOuOs MRo0uTT5KEzIiR17aqoo8mcbKJ82v6AF/JgP0lissmJ86xolshHX63p/+wqujXQ+2xGq6DO21C0r joEtpNNgyccB92fBWUTMLp+KuOQQPO3ochSyliiTPxdHtP65mNPY+oku7dhEB2KT+G6RTNLzDU3V +gXM1qN53dzIcG2K8X7kss7bCQmUOYPBie434Br7c9Mdo7DHy33zojEBmvDeSosnwM5D3bTH+UNV pFNc05PjGAJKWpXfgO47aV1kYBEvMyQAjuxm+2cu4CBljaGKYXwQkEfXWv/HlxQUTWQtyi8hnlXd PKGhea/qfYC+8ThXI+ER/l0YVwuHc9aZ4qmAXA5i6SD41rfV6rfWN0zPHEotEINf5D06k5jRNOWT aiWIiylA7XKAlggN8Z25sBKFX0KDE8rGP5gTMN8yl4kq+CV2tlh0rf5XnCmF64YsP5fhvjjbkSX2 nxA= =4kJa -----END PGP SIGNATURE----- --veguS85dTxXRySnQjF2MoY2WGpagA5Y0o-- --===============8311032659265054683== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTWluR1ctVXNl cnMgbWFpbGluZyBsaXN0Ck1pbkdXLVVzZXJzQGxpc3RzLm9zZG4ubWUKClRoaXMgbGlzdCBvYnNl cnZlcyB0aGUgUG9zdGluZyBFdGlxdWV0dGUsIGFzIGRlc2NyaWJlZCBhdCBodHRwczovL21pbmd3 Lm9zZG4uaW8vaW5kZXguaHRtbD9wYWdlPW1haWxpbmcuaHRtbCNsaXN0LWV0aXF1ZXR0ZS4KV2Ug YXNrIHRoYXQgeW91IGJlIHBvbGl0ZSBhbmQgZG8gdGhlIHNhbWUuICBEaXNyZWdhcmQgZm9yIHRo ZSBsaXN0IGV0aXF1ZXR0ZSBtYXkgY2F1c2UgeW91ciBhY2NvdW50IHRvIGJlIG1vZGVyYXRlZC4K Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCllvdSBtYXkg Y2hhbmdlIHlvdXIgTWluR1cgQWNjb3VudCBPcHRpb25zIG9yIHVuc3Vic2NyaWJlIGF0OgpodHRw czovL2xpc3RzLm9zZG4ubWUvbWFpbG1hbi9saXN0aW5mby9taW5ndy11c2VycwpBbHNvOiBtYWls dG86bWluZ3ctdXNlcnMtcmVxdWVzdEBsaXN0cy5vc2RuLm1lP3N1YmplY3Q9dW5zdWJzY3JpYmU= --===============8311032659265054683==--