|
From: | Juergen Sauermann |
Subject: | Re: [Bug-apl] Modulo or residue function is not generating consistent complete residue systems for some arguments |
Date: | Fri, 23 Jun 2017 17:38:34 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
Hi, I have changed A∣B to literally follow the paper pointed out by Jay. The complex floor itself was already implemented like described in the paper, but A∣B was not. Now (SVN 969) the complex A∣B is computed as Z←B-A×⌊B÷A+A=0 without any attempts to improve the performance of the operation. The result in the 5J3 modulus are now the same as in IBM APL2 (and I suppose also in J) 5J3 ∣ 14J5 1J4 ¯4J1 ¯4J1 ¯4J1 ¯4J1 I hope this finally fixed it. Thanks a lot to all that helped fixing this bug. /// Jürgen On 06/23/2017 09:34 AM, Jay Foad wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |