?. should be stable but different result on J32 vs J64

J32
'89551d61c612f81fb7553a355bf932d2d8f78ed7' -: (128!:6) ": ?.#~1e6

J64
'6ebe83e54f37c4cdb3cfb617e657af9dd2074c42' -: (128!:6) ": ?.#~1e6


Thu, 06 Feb 2020, bill lam написал(а):
> Strange, I got 94 on arm64.
> 
> Did 32bits and 64bits get different results?
> 
> On Thu, Feb 6, 2020, 8:21 PM Arnab Chakraborty <[email protected]> wrote:
> 
> > Dear all,
> >
> > For my class of about 30 students armed with JAndroid 901, I had planned to
> > use ?. to generate a random matrix which should be same for everybody. To
> > start with, I asked everybody to try
> >
> > ?. 100
> >
> > Some got 46, others got 93. No other values. Next, someone noticed that if
> > they repeatedly type
> >
> > ? 100
> >
> > then many are getting the SAME sequence of "random" numbers. Hence my
> > question:
> >
> > 1) Is there a way to produce predictable "random numbers" across different
> > machines (all running Jandroid 901_*, where the *'s may differ)?
> >
> > 2) Is there some way to get the initial seed from, say,  the system time in
> > millisecond (or something like that)?
> >
> > Thanks a lot.
> >
> > Arnab.
> >
> > PS: BTW, my students are loving J!
> > ----------------------------------------------------------------------
> > 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 --armor --export 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to