[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: #1814: OS X / PowerPC failing test: remainder return -0.0
From: |
Chicken Trac |
Subject: |
Re: #1814: OS X / PowerPC failing test: remainder return -0.0 |
Date: |
Tue, 07 Feb 2023 07:25:25 -0000 |
#1814: OS X / PowerPC failing test: remainder return -0.0
----------------------------------------+-----------------------
Reporter: cellularmitosis | Owner: (none)
Type: defect | Status: new
Priority: minor | Milestone: someday
Component: unknown | Version: 5.3.0
Resolution: | Keywords: remainder
Estimated difficulty: |
----------------------------------------+-----------------------
Comment (by sjamaan):
Since I don't have access to a PPC machine anymore, I'm afraid you're on
your own for debugging this. Perhaps you can add some printfs to
`C_s_a_i_remainder` in `runtime.c`. It's the most-indented code for
flonums - check what the values of `dx`, `dy` and `tmp` are, and what the
result is of the calculation it does in the call to `C_flonum`, i.e. `dx -
tmp * dy`.
--
Ticket URL: <https://bugs.call-cc.org/ticket/1814#comment:4>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.