chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] expt incorrect in boundary cases


From: Will M Farr
Subject: Re: [Chicken-users] expt incorrect in boundary cases
Date: Tue, 28 Apr 2009 14:00:12 -0400

On Apr 28, 2009, at 1:29 PM, John Cowan wrote:

or an even number; so NaN is a sensible response.  I don't know what
the motivation for (expt 1.0 +inf) being NaN is.

I suspect that the reasoning is as follows: since 1.0 is inexact, it could easily *mean* 0.9999999999999999999999999... or 1.000000000000000000...1, but these give 0.0 and +inf.0 when raised to +inf.0, respectively. So, it's at least reasonable to say that 1.0^inf = NaN, given the indeterminism.

Will

Attachment: PGP.sig
Description: This is a digitally signed message part


reply via email to

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