# File lib/faker/number.rb, line 46 def normal(mean, standard_deviation) theta = 2 * Math::PI * rand rho = Math.sqrt(-2 * Math.log(1 - rand)) scale = standard_deviation * rho mean + scale * Math.cos(theta) end