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: Evan Hanson
Subject: Re: [Chicken-hackers] [PATCH] Emit C99 constants for +nan.0 and [+-]inf.0 `##core#float' nodes
Date: Fri, 28 Jun 2019 14:26:40 +1200

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]