arc error

If we don't know about 'em, we can't fix 'em.

arc error

PostPosted by drab » Wed Sep 27, 2017 7:34 am

12 ○ 0J∞
DOMAIN ERROR
drab
 
Posts: 315
Joined: Thu Oct 09, 2014 6:23 am

Re: arc error

PostPosted by forummaster » Wed Sep 27, 2017 7:39 pm

drab wrote:12 ○ 0J∞
DOMAIN ERROR
Thanks for the bug report. I presume you were looking for an answer of ○0.5. If so, then the latest alpha version has that bug fix. It also has some other fixes for NaNs, so please let me know if there are any issues there. For example, 0*0J1 is now ∅J∅.
forummaster
 
Posts: 567
Joined: Wed Jan 23, 2013 1:00 pm

Re: arc error

PostPosted by drab » Thu Sep 28, 2017 4:42 am

This used to work, but doesn't now ...

⎕io←0
⎕ic[19]← 0 ⍝ 0 ←→ ∞*0
∞×0
DOMAIN ERROR
drab
 
Posts: 315
Joined: Thu Oct 09, 2014 6:23 am

Re: arc error

PostPosted by forummaster » Thu Sep 28, 2017 10:37 am

drab wrote:This used to work, but doesn't now ...

⎕io←0
⎕ic[19]← 0 ⍝ 0 ←→ ∞*0
∞×0
DOMAIN ERROR
The list of ⎕IC entries shows that (in origin-0) ∞×0 is controlled by ⎕IC[3]. ⎕IC[19] controls ∞*0.
forummaster
 
Posts: 567
Joined: Wed Jan 23, 2013 1:00 pm

Re: arc error

PostPosted by drab » Sat Sep 30, 2017 10:56 am

You fixed only half the cases for the original arc error.

The result of 12○∞J∞ is incorrectly ○0.5, and should be ○0.25.
drab
 
Posts: 315
Joined: Thu Oct 09, 2014 6:23 am

Re: arc error

PostPosted by forummaster » Sat Sep 30, 2017 4:04 pm

drab wrote:You fixed only half the cases for the original arc error.

The result of 12○∞J∞ is incorrectly ○0.5, and should be ○0.25.

Good catch! The latest Alpha version now handles all quarter angle cases.
forummaster
 
Posts: 567
Joined: Wed Jan 23, 2013 1:00 pm


Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 2 guests

cron