How do I cast a UInt64 to a UInt32, discarding the extra bits, and with no 
error checking (so it can work inside @simd loops)?

There are algorithms that require this, eg. 
http://www.pcg-random.org/download.html

Reply via email to