bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] Fuzzy Floor and Ceiling


From: Jay Foad
Subject: Re: [Bug-apl] Fuzzy Floor and Ceiling
Date: Wed, 12 Aug 2015 09:04:29 +0100

I don't know anything about the GNU APL implementation, but I can tell
you that the definition of tolerant-floor changed between standard APL
(ISO 8485) and Extended APL (ISO 13751). In ISO 8485 the tolerance is
relative, so both your examples should definitely return 5. In
Extended APL the tolerance is absolute, so both your examples are
right on the cusp of whether they should return 5 or the next integer
up/down.

Jay.

On 12 August 2015 at 03:25, Mike Duvos <address@hidden> wrote:
>
>       ⌊5-⎕CT
> 4
>
>       ⌈5+⎕CT
> 6
>
>
> Unless something has drastically changed since I last read the APL spec,
> both of these should return 5.
>
>



reply via email to

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