SWI-Prolog Did You Know Did you know? SWI-Prolog has multiple high quality random number generators Search Documentation:
PL_cvt_i_uchar()