Bug#37154: marked as done (Error in optimizing exp(-Inf) using egcc or g++)
Your message dated Wed, 1 Dec 1999 02:07:46 +0100
with message-id <19991201020746.A26182@mors.net>
and subject line These bugs have been fixed
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Darren Benham
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 4 May 1999 15:27:09 +0000
Received: (qmail 1826 invoked from network); 4 May 1999 15:27:08 -0000
Received: from osprey.phast.umass.edu (weinberg@128.119.50.243)
by master.debian.org with SMTP; 4 May 1999 15:27:08 -0000
Received: (from weinberg@localhost)
by osprey.phast.umass.edu (8.9.3/8.9.3/Debian/GNU) id LAA18472;
Tue, 4 May 1999 11:27:05 -0400
Date: Tue, 4 May 1999 11:27:05 -0400
Message-Id: <199905041527.LAA18472@osprey.phast.umass.edu>
From: Martin Weinberg <weinberg@osprey.phast.umass.edu>
To: submit@bugs.debian.org
Cc: weinberg@osprey.phast.umass.edu
Subject: Error in optimizing exp(-Inf) using egcc or g++
Package: egcc
Version: 2.91.60 Debian 2.1
With any level of optimization > 0, exp(-Inf) is NaN:
E.g. here is little code, tmp.c:
#include <stdlib.h>
#include <math.h>
#include <huge_val.h>
int main()
{
double inf = -HUGE_VAL;
printf(" -Inf=%e\n", inf);
printf("exp(-Inf)=%e\n", exp(inf));
return 0;
}
> egcc -O3 -o tmp tmp.c -lm
> ./tmp
-Inf=-Inf
exp(-Inf)=NaN
But,
> egcc -O0 -o tmp tmp.c -lm
> ./tmp
-Inf=-Inf
exp(-Inf)=0.000000e+00
I am using Debian 2.1, kernel version 2.2.5
--Martin
===========================================================================
Martin Weinberg Phone: (413) 545-3821
Dept. of Physics and Astronomy FAX: (413) 545-2117/0648
530 Graduate Research Tower
University of Massachusetts
Amherst, MA 01003-4525
---------------------------------------
Received: (at 27516-done) by bugs.debian.org; 1 Dec 1999 00:52:06 +0000
Received: (qmail 19826 invoked from network); 1 Dec 1999 00:52:02 -0000
Received: from janeway.cistron.net (root@195.64.65.23)
by master.debian.org with SMTP; 1 Dec 1999 00:52:02 -0000
Received: from lightning.mors.net (root@wichert.cistron.nl [195.64.66.141])
by janeway.cistron.net (8.9.3/8.9.3/Debian/GNU) with ESMTP id BAA08002;
Wed, 1 Dec 1999 01:51:54 +0100
Received: (from wichert@localhost)
by lightning.mors.net (8.9.3/8.9.3/Debian 8.9.3-6) id CAA26201;
Wed, 1 Dec 1999 02:07:46 +0100
Date: Wed, 1 Dec 1999 02:07:46 +0100
From: Wichert Akkerman <wichert@cistron.nl>
To: 51655-done@bugs.debian.org, 36007-done@bugs.debian.org,
51613-done@bugs.debian.org, 19839-done@bugs.debian.org,
19861-done@bugs.debian.org, 19869-done@bugs.debian.org,
19882-done@bugs.debian.org, 19946-done@bugs.debian.org,
19957-done@bugs.debian.org, 19960-done@bugs.debian.org,
19973-done@bugs.debian.org, 20216-done@bugs.debian.org,
21275-done@bugs.debian.org, 22129-done@bugs.debian.org,
25545-done@bugs.debian.org, 27516-done@bugs.debian.org,
28411-done@bugs.debian.org, 29724-done@bugs.debian.org,
45029-done@bugs.debian.org, 47329-done@bugs.debian.org,
51428-done@bugs.debian.org, 51576-done@bugs.debian.org,
51577-done@bugs.debain.org, 51595-done@bugs.debian.org,
51596-done@bugs.debian.org, 51600-done@bugs.debian.org,
19890-done@bugs.debian.org, 22819-done@bugs.debian.org
Subject: These bugs have been fixed
Message-ID: <19991201020746.A26182@mors.net>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="OgqxwSJOaUobr8KG"
User-Agent: Mutt/1.0pre4i
--OgqxwSJOaUobr8KG
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
This bugreport should be fixed in the current version of base-passwd.
I'll quite the recent sections of the changelog:
base-passwd (3.1.1) unstable; urgency=3Dmedium
* Bump Standards-Version to 3.1.1 (nicely in sync with our own version :)
* Add missing fallback-return for scan_users
* Index special users by id instead of name so we can handle strangely
named entries (like proftp'd anonftp or root-aliases)=20
* Update the README
-- Wichert Akkerman <wakkerma@debian.org> Tue, 30 Nov 1999 17:02:27 +0100
base-passwd (3.1) unstable; urgency=3Dmedium
* autoconfed the source so we can detect systems without putgrent()
and provide use our own implementation of putgrent=20
* Don't abort if the shadow-file doesn't exist
* Add new logic to make users special. Use this to remove the special
cases for root and ftp and keep the homedirectory for www-data.
* Update README to document new behaviour
-- Wichert Akkerman <wakkerma@debian.org> Tue, 30 Nov 1999 15:59:34 +0100
base-passwd (3.0.7) unstable; urgency=3Dlow
* We no longer need to add the utmp-group manually in the postinst,
update-passwd will do that for us.
-- Wichert Akkerman <wakkerma@debian.org> Mon, 29 Nov 1999 17:57:15 +0100
=20
base-passwd (3.0.6) unstable; urgency=3Dlow
* Fix slight error in postinst
* Change the wording of messages in the postinst
-- Wichert Akkerman <wakkerma@debian.org> Mon, 29 Nov 1999 17:49:34 +0100
base-passwd (3.0.5) unstable; urgency=3Dlow
* Make postinst smarted to check if changes should be made, and if so
ask the user if he agrees.
* Update the README
-- Wichert Akkerman <wakkerma@debian.org> Mon, 29 Nov 1999 17:43:40 +0100
base-passwd (3.0.4) unstable; urgency=3Dlow
* Add newline at the end of the usage information
* Add video group with gid 44
* Reserve uid&gid for mysql, Closes: #28158
* Run update-passwd without --dry-run but with --verbose
-- Wichert Akkerman <wakkerma@debian.org> Mon, 29 Nov 1999 02:32:32 +0100
base-passwd (3.0.3) experimental; urgency=3Dlow
* Handle NIS entries in group as well
-- Wichert Akkerman <wakkerma@debian.org> Mon, 15 Nov 1999 00:59:02 +0100
base-passwd (3.0.2) experimental; urgency=3Dlow
* Set standards-version to 3.0.1 to make lintian silent
* Pass description of what we are processing to process_(new|old)_entries
* Set umask in put_file_in_place() so we can use it elsewhere as well
-- Wichert Akkerman <wakkerma@debian.org> Sun, 14 Nov 1999 13:44:56 +0100
base-passwd (3.0.1) experimental; urgency=3Dlow
* Don't attempt to lock when doing a dry run
* Also copy the gid when we're copying a passwd-node
* Set umask to 0077 before creating any files
* Copy filemodes and ownership to new file
-- Wichert Akkerman <wakkerma@debian.org> Sun, 14 Nov 1999 04:22:49 +0100
base-passwd (3.0) experimental; urgency=3Dlow
* Change homedirectory for man to /var/cache/man
* Complete rewrite of update-passwd
* Call update-passwd --dry-run in the postinst so people get
a chance to check for bugs before we destroy their system
-- Wichert Akkerman <wakkerma@debian.org> Sun, 14 Nov 1999 04:02:08 +0100
base-passwd (2.1.1) unstable; urgency=3Dlow
* Update location of GPL in copyright
* Actually change maintainer in debian/control
* Completely redid debian/rules
* FHS
* Use Pre-Depends instead of Depends=20
-- Wichert Akkerman <wakkerma@debian.org> Fri, 5 Nov 1999 14:06:32 +0100
base-passwd (2.1) unstable; urgency=3Dlow
* New maintainer
* Update versionnumber for no reason at all
-- Wichert Akkerman <wakkerma@debian.org> Fri, 5 Nov 1999 13:42:10 +0100
--=20
________________________________________________________________
/ Generally uninteresting signature - ignore at your convenience \
| wichert@liacs.nl http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0 2805 3CB8 9250 2FA3 BC2D |
--OgqxwSJOaUobr8KG
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAjhEdOIACgkQPLiSUC+jvC0dYACeLL2RySc8oMLvFYRSzHvjYGaB
X8MAoKSLSBi0GUYedpAH0k/zqSN/SHK2
=acuE
-----END PGP SIGNATURE-----
--OgqxwSJOaUobr8KG--
Reply to: