chickadee » random-swb » swb-random-natural

swb-random-natural:procedure

Computes the next random number and returns its absolute values. The output from the SWB generator is xor-ed with a number from the linear congruential generator. The new generator state is returned along with the random number.