[Bug-apl] Bad quality of the roll function

2014-08-19 Thread Kacper Gutowski
Currently GNU APL uses LCG with modulus 2⋆64 and then reduces values modulo desired range. This, beside being slightly biased for ranges not dividing the modulus, yields reduced periods when range is power of two. ?10 16⍴16 11 2 13 12 15 6 1 16 3 10 5 4 7 14 9 8 11 2 13 12 15 6 1 16 3 10 5

Re: [Bug-apl] Error compiling a function

2014-08-19 Thread Juergen Sauermann
Hi Elias, thanks, fixed in SVN 438. /// Jürgen On 08/17/2014 06:11 PM, Elias Mårtenson wrote: OK, I have come up with a way to reproduce this. This is a simplified version of a program started to fail, and