Re: [julia-users] C-style casts

2015-10-23 Thread Davide Lasagna
Where is this documented?

Re: [julia-users] C-style casts

2015-10-23 Thread Davide Lasagna
Where is this documented?

Re: [julia-users] C-style casts

2015-10-23 Thread Yichao Yu
(a % UInt32) where a is a UInt64 On Fri, Oct 23, 2015 at 5:12 PM, Damien wrote: > 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.h

[julia-users] C-style casts

2015-10-23 Thread Damien
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