5 ms·
Would it not be possible to reuse that value? -uint64_t(__uerange) % uint64_t(__uerange)
by 29athrowaway 7y ago
Would it not be possible to reuse that value?
-uint64_t(__uerange) % uint64_t(__uerange)
- saagarjha 7y agoWhat, uint64_t(__uerange)?
- nightcracker 7y agoI had the same thought in this discussion: https://www.reddit.com/r/cpp/comments/daif4f/doubling_the_speed_of_stduniform_int_distribution/f1qiedw/ https://www.reddit.com/r/cpp/comments/daif4f/doubling_the_sp...