guile-devel
[Top][All Lists]
Advanced

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

Re: math tests on amd64


From: Greg Troxel
Subject: Re: math tests on amd64
Date: Thu, 19 Jun 2008 14:03:23 -0400
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.1 (berkeley-unix)

"Neil Jerram" <address@hidden> writes:

>> guile> (version)
>> "1.8.5"
>> guile> (eqv? 0.0 (exp -inf.0))
>> #f
>> guile> (exp -inf.0)
>> +nan.0
>>
>> On i386 and sparc64 this passes.  I ran paranoia and that passed (with
>> not even flaws).  Does this test pass for others on other operating
>> systems on amd64?
>
> Mathematically, it's correct for (exp -inf.0) to be 0, isn't it?

I have since found that POSIX.1 specifies exp(3) the way guile is
supposed to behave, and that function from C on NetBSD/amd64 also fails.
So it's a NetBSD/amd64 problem, not a guile problem - sorry for the
noise.




reply via email to

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