bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] Squish quad function DOMAIN ERROR


From: Juergen Sauermann
Subject: Re: [Bug-apl] Squish quad function DOMAIN ERROR
Date: Sun, 10 May 2015 13:36:09 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

Hi Fred,

thanks, fixed in SVN 627.

/// Jürgen


On 05/10/2015 03:58 AM, Frederick H. Pitts wrote:
Hello Juergen,

	Is it intentional that the index function ⌷ (squish quad) no longer
accepts near-integer floating point numbers in the left argument?  In
the svn 626 version of GNU APL, using near-integer floating points in
the left argument
results in a DOMAIN ERROR.  For example

      ( 10 11 12 )[ 2 ]
11
      ( 10 11 12 )[ 3.0 ]
12
      2 ⌷ 10 11 12
11
      2.0 ⌷ 10 11 12
DOMAIN ERROR
      2⌷10 11 12
      ^^

	In the past, the GNU APL ⌷ accepted near integers just like the bracket
index [ ] function does now.  Do I need to revert to using the bracket
index function if I need near-integer floating point indices?

Regards,

Fred






reply via email to

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