Since there's already a way to specify the RNG to use, it might make sense to enhance this to include 32- and 64-bit versions rather than use fit.
On Thu, Oct 30, 2014 at 12:14 PM, 'Pascal Jasmin' via Programming < programm...@jsoftware.com> wrote: > That would be helpful. It would work for mode 3 (DX-1597-4d), and it > would make it possible to include MT19937-32 as mode 5 with unchanged > source for that algorithm for whatever compilation target. > > > > ________________________________ > From: bill lam <bbill....@gmail.com> > To: 'Pascal Jasmin' via Programming <programm...@jsoftware.com> > Sent: Thursday, October 30, 2014 11:15 AM > Subject: Re: [Jprogramming] 32 bit mersenne twister in 64 bit J > > > IMO it will be much simplier if you can persuade Roger Hui to > add an adhoc fit (!.) for ? such that it will generate 32-bit > random numbers even for 64-bit platforms. > > > > > Вт, 28 окт 2014, jprogramming написал(а): > > The algorithm for ? generation (mode 2 in NRG select) changed in J-64. > Is there a way to import j.dll functions so as to use the old version? > > > > see http://www.jsoftware.com/pipermail/programming/2014-June/037583.html > > > > > > That request aside, I was able to create some portable (32 and 64 bit > identical streams) random generation code. Some of which are quite fast. > > > > > http://www.jsoftware.com/jwiki/PascalJasmin/portable%20and%20possibly%20secure%20RNGs > > > > There are also some versions that may be applicable to cryptography. > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > -- > regards, > ==================================================== > GPG key 1024D/4434BAB3 2008-08-24 > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3 > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > -- Devon McCormick, CFA ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm