[Top][All Lists]

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

Re: [Chicken-users] Re: IEEE float arithmetic

From: John Cowan
Subject: Re: [Chicken-users] Re: IEEE float arithmetic
Date: Wed, 21 Jun 2006 00:30:01 -0400
User-agent: Mutt/1.3.28i

Abdulaziz Ghuloum scripsit:

> Out of curiosity, why not simply do "f==1.0/0.0 || f==-1.0/0.0" to test
> if f is +inf.0/-inf.0?

Umm.  Too obvious, I guess.  I started working these out in
Chicken, where dividing by zero throws an exception, so I
wanted some other method.  But in C, of course, there's no
such issue.

One art / There is                      John Cowan <address@hidden>
No less / No more             
All things / To do
With sparks / Galore                     -- Douglas Hofstadter

reply via email to

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