[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Complex numbers with inexact zero imaginary part, etc
From: |
Andy Wingo |
Subject: |
Re: [PATCH] Complex numbers with inexact zero imaginary part, etc |
Date: |
Wed, 02 Feb 2011 21:30:38 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Hi,
I just sent a mail I didn't mean to send, I said:
On Wed 02 Feb 2011 12:25, Mark H Weaver <address@hidden> writes:
> * libguile/numbers.c (scm_abs): (abs -0.0) now returns 0.0.
> Previously it returned -0.0.
I questioned this, but I think it's pretty fine, obviously; I meant to
ask about:
> (scm_difference): (- 0 0.0) now returns -0.0. Previously it returned
> 0.0. Also make sure that (- 0 0.0+0.0i) will return -0.0-0.0i.
Is this right? I can convince myself both ways.
Regards,
Andy
--
http://wingolog.org/
Re: [PATCH] Complex numbers with inexact zero imaginary part, etc, Andy Wingo, 2011/02/02