[Bug-apl] rational experimental feature: 'float' issue

2017-08-14 Thread Ala'a Mohammad
Hi, I was playing with the sum of the series 1/3, 1/9, 1/27 ..etc (1÷3⋆⍳x), and found that If I'm using the rationals experimental feature (⎕ps ← 1 0), then it the following were found: 1) 1÷3⋆⍳5 1÷3 1÷9 1÷27 1÷81 1÷243 +/1÷3⋆⍳39 2026277576509488133÷4052555153018976267 +/1÷3⋆

Re: [Bug-apl] rational experimental feature: 'float' issue

2017-08-14 Thread Ala'a Mohammad
Adding other cases found 3⋆39 4052555153018976267 1÷3⋆39 1÷4052555153018976267 3⋆40 1.215766546E19 1÷3⋆40 8.22526334E¯20 Another example which does not have a large denumerator (1÷3)×1÷3 1÷9 (1÷1)×1÷3 0.33 1×1÷3 0.33 2×1÷3 0.666

Re: [Bug-apl] rational experimental feature: 'float' issue

2017-08-14 Thread Juergen Sauermann
Hi Ala'a, not sure what the problem is. What you see is probably a less-than-obvious combination of APL2 formatting rules: 1. when the numerator and/or the denominator becomes larger than 64 bit, then    the quotient is automatically converted