Skip to content
Snippets Groups Projects
Forked from cmucl / cmucl
Source project has a limited visibility.
  • dtc's avatar
    d947becd
    Special random transform for use with random-mt19937: · d947becd
    dtc authored
    - 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.
    d947becd
    History
    Special random transform for use with random-mt19937:
    dtc authored
    - 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.