Maybe not good quality, but I like this one for my ludic purposes:
https://github.com/lmbarros/sbxs_dlang/blob/master/src/sbxs/rand/rng.d#L283 It is an implementation of an approximation algorithm that used to be described here: http://home.online.no/~pjacklam/notes/invnorm/ But appears to be offline right now. On the Wayback Machine: http://web.archive.org/web/20151030212409/http://home.online.no/~pjacklam/notes/invnorm <http://web.archive.org/web/20151030212409/http://home.online.no/~pjacklam/notes/invnorm> LMB On Sat, Feb 20, 2016 at 12:01 PM, Andrei Alexandrescu via Digitalmars-d < digitalmars-d@puremagic.com> wrote: > Do we have a good quality converter of uniform numbers to > Gaussian-distributed numbers around? -- Andrei >