guile-devel
[Top][All Lists]
Advanced

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

Re: math tests on amd64


From: Marijn Schouten (hkBst)
Subject: Re: math tests on amd64
Date: Fri, 20 Jun 2008 19:44:36 +0200
User-agent: Thunderbird 2.0.0.14 (X11/20080620)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Greg Troxel wrote:
> I ran 'make check' on guile on NetBSD-current on amd64, and got a
> failure:
> 
> guile> (version)
> "1.8.5"
> guile> (eqv? 0.0 (exp -inf.0))
> #f
> guile> (exp -inf.0)
> +nan.0

On my amd64 linux system I get:

guile> (version)
"1.8.5"
guile> (eqv? 0.0 (exp -inf.0))
#t
guile> (exp -inf.0)
0.0

HTH, Marijn

> 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?  If so, I should look into whether it's a NetBSD bug,
> variance in floating point flags, or a guile bug.
> 
> So far this looks like a failure of NetBSD on amd64 to follow POSIX:
> http://www.opengroup.org/onlinepubs/009695399/functions/exp.html

- --
Marijn Schouten (hkBst), Gentoo Lisp project, Gentoo ML
<http://www.gentoo.org/proj/en/lisp/>, #gentoo-{lisp,ml} on FreeNode
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkhb7IQACgkQp/VmCx0OL2z5YwCgjemUCb08v/nz4UZS4A/+7t0c
cVoAnjqrdEEfF07V/9YtSMgiyf5tSlQO
=YN+l
-----END PGP SIGNATURE-----




reply via email to

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