Phix Random Numbers

new topic     » topic index » view thread      » older message » newer message

The Phix documentation says about rnd(), "You should note that the implementation is trivial and you should not assume that the results will be perfectly distributed or cryptographically secure. Several other random number generators can be found in PCAN (or the Euphoria archive)."

Probably my fault, but I didn't manage to find them. It's not hugely important to me, but if someone could help me to improve on the trivially implemented random numbers with without too much effort, I'd be grateful.

(Not meant for cryptographical purposes, rather for Monte Carlo experiments. If the existing implementation is good enough for that anyway, I'd be glad to hear that.)

Thanks,
Robert

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu