chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] [PATCH] Emit C99 constants for +nan.0 and [+-]inf.


From: John Cowan
Subject: Re: [Chicken-hackers] [PATCH] Emit C99 constants for +nan.0 and [+-]inf.0 `##core#float' nodes
Date: Thu, 27 Jun 2019 22:49:38 -0400

Done; < https://bugs.call-cc.org/ticket/1627#ticket >. 

On Thu, Jun 27, 2019 at 10:26 PM Evan Hanson <address@hidden> wrote:
On 2019-06-27 21:27, John Cowan wrote:
> No, you do.  If a Schemer writes (/ 1.0 -0.0) the result must be
> -inf.0, not +inf.0.

OK, but I think that's a separate issue, because currently if a CHICKEN
user writes (/ 1.0 -0.0) they get +inf.0. And -0.0 gets them 0.0.

It sounds like this might be worth a bug report (would you be so kind?).
But, for the purposes of this patch, there is no negative zero.

Cheers,

Evan

reply via email to

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