MASON-INTEREST-L Archives

March 2012

MASON-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Proportional Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Sean Luke <[log in to unmask]>
Reply To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Date:
Sun, 11 Mar 2012 13:03:26 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (6 lines)
Bruce Haxton pointed out to me that Mersenne Twister and Mersenne Twister Fast still have vestigial references to 0xffffffff (that is, -1) in the seeding code which makes no sense if the values are integers -- it probably just gets optimized out.  These references originated from the C code, which couldn't guarantee that integers were 32 bits.

I have committed revised versions of the Mersenne Twister code both in the ECJ and MASON packages.  This code has those references commented out.  It LOOKS like it's still seeding identically, but I would appreciate some additional eyeballs testing such a core piece of code.  Can anyone help out please?

Sean

ATOM RSS1 RSS2