How would I find a seed for nextFloat() that would return a number above a threshold, say nextFloat() > 0.8
, several times? Maybe five times in a row? Of course 0.8 and 5 are examples, and I know there are a very large number of solutions, but I don't know how I would even go about finding a single one. A lot of the math governing the random numbers next()
returns goes way over my head. All help is very appreciated!
mardi 26 mai 2020
How do you find a seed for nextFloat() that returns a number above a threshold several times?
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire