[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to detect division by zero?
From: |
Roland Orre |
Subject: |
Re: how to detect division by zero? |
Date: |
Tue, 20 Jan 2004 17:29:55 +0100 |
On Tue, 2004-01-20 at 17:02, John W. Eaton wrote:
> On 20-Jan-2004, Roland Orre <address@hidden> wrote:
> NaN values never compare equal. To check for them, you need isnan. I
> helped to write a patch for this some time ago. Doesn't guile 1.7 (or
> some newer than 1.6 version) have isinf, isnan, and other IEEE
> floating point functions and values built in?
Yes, you are right. I had missed that. There are e.g. nan? and inf?
/Roland