3 ms·As hinted in my comment, Swift provides overflowing operators. You would implement your PRNG using those.by masklinn 6y agoAs hinted in my comment, Swift provides overflowing operators. You would implement your PRNG using those.