samedi 14 octobre 2017

Remake Math.random

How can I possibly remake the Math.random JavaScript method without using the Math object at all? As I'm trying to remake the whole Math object all by myself for practicing purposes, and the random method is the last one I can't figure out how to do it since the only way I thought about had an awful distribution.

Thanks!




Aucun commentaire:

Enregistrer un commentaire