Re: two fxremainder tests failing on Chicken 5 port of SRFI-143 noosphere@xxxxxx 17 Nov 2020 23:42 UTC

On Tue 17 Nov 2020 06:13:55 PM -05, John Cowan wrote:
>
> Chicken 5 does do (remainder -13 4) => -1.

On my chicken too, I get -1:

  %  csi
  CHICKEN
  (c) 2008-2020, The CHICKEN Team
  (c) 2000-2007, Felix L. Winkelmann
  Version 5.2.0 (rev 317468e4)
  linux-unix-gnu-x86-64 [ 64bit dload ptables ]

  Type ,? for help.
  #;1> (remainder -13 4)
  -1
  #;2>

> On Tue, Nov 17, 2020 at 5:44 PM Arthur A. Gleckler <xxxxxx@speechcode.com>
> wrote:
>
>> On Tue, Nov 17, 2020 at 2:35 PM <xxxxxx@mailc.net> wrote:
>>
>>> I'm porting SRFI-143 to Chicken 5, but unfortunately two tests that
>>> are testing the fxremainder procedure are failing.
>>>
>>> The details, including a complete log and a link to the ported code can
>>> be found here:
>>>
>>>   https://github.com/diamond-lizard/srfi-143/issues/1
>>>
>>> Any help greatly appreciated.
>>>
>>
>> Thanks for the report.
>>
>> Both tests rely on remainder handling negative arguments as defined.
>> What version of Chicken are you using?  Would you please see whether (remainder
>> -13 4) returns -1, as it should?
>>