Function RandomNumberGenerator.randfn

Generates a url=https://en.wikipedia.org/wiki/Normal_distributionnormally-distributed/url pseudo-random number, using Box-Muller transform with the specified mean and a standard deviation. This is also called Gaussian distribution.

double randfn (
  const(double) mean = 0.00000,
  const(double) deviation = 1.00000
) nothrow @nogc;