bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] Domain error in grade up/down with near-reals


From: Juergen Sauermann
Subject: Re: [Bug-apl] Domain error in grade up/down with near-reals
Date: Fri, 16 Dec 2016 13:10:24 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

Hi Kacper,

thanks, fixed in SVN 823.

Actually, I was thinking of allowing complex numbers for and .

Unfortunately there are different ways for comparing complex numbers, like:

1. first the real part then the imaginary part, or
2. first the magnitude and then angle

But it seems like only 1. is a continuous extension of the real case.

Any opinions?

/// Jürgen


On 12/16/2016 10:55 AM, Kacper Gutowski wrote:
Hello,
There is another case of not handling near-real numbers properly:

      ⍋,1J0
DOMAIN ERROR
      ⍋,1
      ^^

It should of course return ,1.

-k




reply via email to

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