S
S
seoplus20192019-09-26 22:02:38
PHP
seoplus2019, 2019-09-26 22:02:38

Is it possible to create a managed rng?

Guys, there is a question.
Is it possible to create a rng from 0 to 1 so
that the output is 0 more than 1 2 times

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
longclaps, 2019-09-26
@longclaps

Can.

G
Griboks, 2019-09-26
@Griboks

Generate 3 numbers evenly. Then, if one of the first 2 numbers fell out, return 0, if the third number fell out, return 1. Then, in theory, 1 will fall out twice as often.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question