commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: [math] MersenneTwister question
Date Mon, 29 Aug 2011 05:50:59 GMT
Why?

Isn't that what casting as an (int) does?

On Sun, Aug 28, 2011 at 10:17 PM, Greg Sterijevski
<gsterijevski@gmail.com>wrote:

> While probably not a big deal, shouldn't the initial element in the array
> mt
> be 'anded' by 0xffffffffL?
>
> mt[0]= (int) longMT & 0xffffffffL;
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message