Jump to content

Unbias a random generator: Difference between revisions

→‎{{header|CoffeeScript}}: Range of N is wrong
(CoffeeScript)
(→‎{{header|CoffeeScript}}: Range of N is wrong)
Line 221:
 
=={{header|CoffeeScript}}==
{{incomplete|CoffeeScript|range of N is 3..6 not 5..9}}
<lang coffeescript>
biased_rand_function = (n) ->
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.