|
From: | Juergen Sauermann |
Subject: | Re: [Bug-apl] Performance problem with simple program |
Date: | Wed, 07 Oct 2015 16:30:51 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
Hi Peter, I guess when L⍟(|R)+R=0 is integer then ⌈ and ⌊ would be the same and then the 1+⌊ is different from ⌈. /// Jürgen On 10/07/2015 04:19 PM, Peter Teeson
wrote:
Re: encode((1+⌊10⍟N)⍴10)⊤...I was wondering why the APL Lang Ref Manual p.161 shows: ⌊1+L⍟(|R)+R=0 Why would this not be just as correct? ⌈L⍟(|R)+R=0 and so((⌈10⍟N)⍴10)⊤...two symbols less……..<grin> |
[Prev in Thread] | Current Thread | [Next in Thread] |