Your message dated Sun, 20 Nov 2005 12:06:21 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#339319: Bug in fesetenv() [LIBC6.1]
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.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 15 Nov 2005 13:51:33 +0000
>From [EMAIL PROTECTED] Tue Nov 15 05:51:33 2005
Return-path: <[EMAIL PROTECTED]>
Received: from post.rzg.mpg.de ([130.183.7.21])
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1Ec1Dg-0000WS-Vv
        for [EMAIL PROTECTED]; Tue, 15 Nov 2005 05:51:33 -0800
Received: from mpq3p32.mpq.mpg.de (mpq3p32.mpq.mpg.de [130.183.93.32])
        by post.rzg.mpg.de (8.9.2/8.9.2) with ESMTP id OAA3153952
        for <[EMAIL PROTECTED]>; Tue, 15 Nov 2005 14:51:31 +0100
X-Envelope-To: <[EMAIL PROTECTED]>
Subject: Bug in fesetenv() [LIBC6.1]
From: Juan Jose Garcia Ripoll <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Content-Type: text/plain
Date: Tue, 15 Nov 2005 14:50:37 +0100
Message-Id: <[EMAIL PROTECTED]>
Mime-Version: 1.0
X-Mailer: Evolution 2.4.1 
Content-Transfer-Encoding: 7bit
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package:        libc6.1
Version:        2.2.5-11.5
Architecture:   Linux usf-cf-alpha-linux-1 2.2.20 #2 Wed Mar 20 19:57:28 EST 
2002 alpha unknown
Summary:        Under some circumstances, invoking fesetenv() results
                in a floating point exception being raised.

Description:

I have a piece of code which may result in underflows. I enclose
the code in between

        fenv_t env;
        feholdexcept(&env);

        ...

        fesetenv(&env);

Now the code in [...] is reading floating point numbers which may
be very small and result in underflow floating point signals.
However, since we have used feholdexcept() the signals should not
be produced. And indeed they are not, until we reach fesetenv()
where the signal is raised.

If you read the manual of LIBC for fesetenv()

       The fesetenv function restores the floating point environ-
       ment  from the object *envp.  This object must be known to
       be valid, e.g., the  result  of  a  call  to  fegetenv  or
       feholdexcept  or  equal to FE_DFL_ENV.  This call does not
       raise exceptions.

it says no exception should be raised.




---------------------------------------
Received: (at 339319-close) by bugs.debian.org; 20 Nov 2005 17:06:25 +0000
>From [EMAIL PROTECTED] Sun Nov 20 09:06:25 2005
Return-path: <[EMAIL PROTECTED]>
Received: from nevyn.them.org ([66.93.172.17] ident=Debian-exim)
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1Edsdz-0007tZ-DM
        for [EMAIL PROTECTED]; Sun, 20 Nov 2005 09:06:25 -0800
Received: from drow by nevyn.them.org with local (Exim 4.54)
        id 1Edsdx-0007Mn-9d; Sun, 20 Nov 2005 12:06:21 -0500
Date: Sun, 20 Nov 2005 12:06:21 -0500
From: Daniel Jacobowitz <[EMAIL PROTECTED]>
To: Juan Jose Garcia Ripoll <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: Bug#339319: Bug in fesetenv() [LIBC6.1]
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.5.8i
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

On Tue, Nov 15, 2005 at 02:50:37PM +0100, Juan Jose Garcia Ripoll wrote:
> Package:      libc6.1
> Version:      2.2.5-11.5
> Architecture: Linux usf-cf-alpha-linux-1 2.2.20 #2 Wed Mar 20 19:57:28 EST 
> 2002 alpha unknown
> Summary:      Under some circumstances, invoking fesetenv() results
>               in a floating point exception being raised.

This is a duplicate of 339318, closing - will follow up there.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to