Skip to content
Snippets Groups Projects
Commit d947becd authored by dtc's avatar dtc
Browse files

Special random transform for use with random-mt19937:

- For constant arguments, check the actual error after taking the
value MOD the limit so that a wider range are acceptable. E.g. Can now
inline (random (expt 2 32)) for which there is no error.
- On the x86 port use the faster multiplication rather than division
for the MOD calculation.
parent a70b7bb4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment