From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <6303ce5313a23c0182ac327f9c5ad4e3.axp-list@archive.invalid> X-Archive-Original-Message-ID: Date: Wed, 27 Aug 1997 09:30:18 +0100 (WET DST) From: Benoit E. Donnette Subject: Re: SIGFPE with gcc 2.7.2.1 (from alphabits) In-Reply-To: On Tue, 26 Aug 1997, Tom Browder wrote: | I'm getting a SIGFPE when multiplying together | two SMALL numbers (~1e-311 and 1e-11). | The same multiplication on my PC Linux box returns zero | which is perfectly acceptable. I can find nothing | in gcc info about this behavior. Is there | some flag (or?) I can set to correct this? | | Thanks. | | Tom Browder | | P.S. Using gcc from alphabits. | Well, I am about to beleive that this should be the correct behaviour (well, the mathematician's speaking maybe...). I am not sure what the IEEE standard says about this, but a good solution is to catch the signal and handle the case as an exception. Benoit E. Donnette, CMO Toulouse donnette@spot6.meteo.fr Ancien eleve de l'Ecole Centrale Paris - France Old member of Pembroke College Cambridge - England **Mathematiques et informatique theorique** -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com