[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.
>
>
- [Bug-apl] Fuzzy Floor and Ceiling, Mike Duvos, 2015/08/11
- Re: [Bug-apl] Fuzzy Floor and Ceiling,
Jay Foad <=
- Re: [Bug-apl] Fuzzy Floor and Ceiling, Mike Duvos, 2015/08/12
- Re: [Bug-apl] Fuzzy Floor and Ceiling, Juergen Sauermann, 2015/08/14
- Re: [Bug-apl] Fuzzy Floor and Ceiling, Mike Duvos, 2015/08/14
- Re: [Bug-apl] Fuzzy Floor and Ceiling, Juergen Sauermann, 2015/08/14
- Re: [Bug-apl] Fuzzy Floor and Ceiling, Mike Duvos, 2015/08/14
- Re: [Bug-apl] Fuzzy Floor and Ceiling, Elias Mårtenson, 2015/08/15
- Re: [Bug-apl] Fuzzy Floor and Ceiling, Juergen Sauermann, 2015/08/15
- Re: [Bug-apl] Fuzzy Floor and Ceiling, Elias Mårtenson, 2015/08/16
- Re: [Bug-apl] Fuzzy Floor and Ceiling, Juergen Sauermann, 2015/08/15