Did you know? SWI-Prolog has multiple high quality random number generatorsSearch Documentation:
SWI-Prolog owl logoPredicate set_prolog_IO/3