While ?. produces different results for J32 vs J64. Regardless of platforms and cpu architectures and J version, ?. always gives identical results for all J32. same result for all J64 . In the J engine test suite
(IF64{::'89551d61c612f81fb7553a355bf932d2d8f78ed7';'6ebe83e54f37c4cdb3cfb617e657af9dd2074c42') -: (128!:6) ": ?.#~1e6 (IF64{::'ac92c5ac4e7c167de5967296ff90791ea334c39b';'ab5ae709e6f9eb15e197a4cd616a3dd044f31a99') -: (128!:6) ": ?.~1e6 BTW the statistical quality of randomness of ?. is poor but that is unimportant. The intention is that it always gives repeatable results. On Thu, May 11, 2023 at 5:05 AM Raul Miller <rauldmil...@gmail.com> wrote: > I think the issue you are talking about here is the result from (?.) > > It would be plausibly nice if ?. had a definition which is > architecture and version independent. But that has not been the case > and probably will not be the case. Already, there's too many variants > out there for broad compatibility. > > It might be best to replace (?.) with (?) so that people who > understand the difference are not misled into false expectations. > > Thanks, > > -- > Raul > > On Wed, May 10, 2023 at 1:59 PM Brian Schott <schott.br...@gmail.com> > wrote: > > > > Inspired by the wikipedia links offered below, I sought > > https://en.wikipedia.org/wiki/J_(programming_language) and was quite > > pleased with the description. However, the random list and array examples > > produce different results for me and I suspect those examples need to be > > changed. > > > > Below is an excerpt from my jconsole showing the values I see. > > I would be happy to try to edit the wiki page but I am not registered, so > > it would be better if someone else does so. > > > > avg=: +/ % # > > ]v=: ?. 20 $100 > > 94 56 8 6 85 48 66 96 76 59 33 72 63 1 89 52 17 20 9 65 > > avg v > > 50.75 > > 4 avg\ v > > 41 38.75 36.75 51.25 73.75 71.5 74.25 66 60 56.75 42.25 56.25 51.25 39.75 > > 44.5 24.5 27.75 > > ]m=: ?. 4 5 $50 > > 44 6 8 6 35 > > 48 16 46 26 9 > > 33 22 13 1 39 > > 2 17 20 9 15 > > avg"1 m > > 19.8 29 21.6 12.6 > > JVERSION > > Engine: j903/j64/darwin > > Release-b: commercial/2022-01-28T04:11:24 > > Library: 9.03.08 > > Platform: Darwin 64 > > Installer: J903 install > > InstallPath: /users/brian/j903 > > Contact: www.jsoftware.com > > > > > > On Wed, May 10, 2023 at 3:10 PM Jose Mario Quintana < > > jose.mario.quint...@gmail.com> wrote: > > > > > > I know of at least A,B,C,D,E,I,J,K,M,Q,R, and S > > > > > > F (programming language) - Wikipedia > > > https://en.wikipedia.org/wiki/F_%28programming_language%29 > > > > > > P (programming language) - Wikipedia > > > https://en.wikipedia.org/wiki/P_(programming_language) > > > > > > T (programming language) - Wikipedia > > > https://en.wikipedia.org/wiki/T_(programming_language) > > > > > > > > > > > > -- > > (B=) <-----my sig > > Brian Schott > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm