bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] Circle


From: Mike Duvos
Subject: Re: [Bug-apl] Circle
Date: Sun, 30 Aug 2015 21:37:46 -0700

Dropped an iota in the prior post.

        X←1D1*⍳360
        +/¯4○X

¯3.814090113E¯8J3.814086508E¯8


That changes the IBM result slightly, but the GNU APL one is still off by a large amount.



On Sun, Aug 30, 2015 at 9:13 PM, Mike Duvos <address@hidden> wrote:
      )CLEAR
CLEAR WS

      ⎕IO←0
      X←1D1*360

      +/(¯1+X×X)*0.5
5.393937829E¯8J¯5.393937829E¯8
 

[IBM APL2]
     
      +/¯4○X
5.393937829E¯8J¯5.393937829E¯8


[GNU APL]

      +/¯4○X
122.0040743J2.828427087

I think this is wrong.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]