delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/10/31/08:34:40

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 079803858CDA
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1698755678;
bh=sbiJeTLIZwTxRZ4pKcxxwMtPkMscwiZnPRfvNh0tdms=;
h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=X7bwZvWTU3xM6MX6tBffmYj13vdbOu2s693ikbbRHcDA6Ij7rzoaMFzqluBPvVjoX
xD82ntMo5OZigj3um05PafNKcqAwwil/iZUix6KU9Apix88ovptXl0NkZWr0boXcfy
VHXT3coW7VNvUm+vY9JzN+hq0CLjwN6rMPjkyf6Y=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BBAAF3858D1E
Date: Tue, 31 Oct 2023 13:33:59 +0100
To: Bruno Haible <bruno AT clisp DOT org>
Subject: Re: feraiseexcept does not raise traps in Cygwin
Message-ID: <ZUD0Nzpmy2S4H2N1@calimero.vinschen.de>
Mail-Followup-To: Bruno Haible <bruno AT clisp DOT org>, cygwin AT cygwin DOT com
References: <39807966 DOT XM6RcZxFsP AT nimes>
MIME-Version: 1.0
In-Reply-To: <39807966.XM6RcZxFsP@nimes>
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Corinna Vinschen via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>, cygwin AT cygwin DOT com
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 39VCYdMb013920

Hi Bruno,

On Oct 25 11:21, Bruno Haible via Cygwin wrote:
> Hi,
> 
> Seen on
>   - Cygwin 3.4.6 or 2.9.0 on x86_64.
>   - Cygwin 2.9.0 on i386.
> 
> According to ISO C 23 § 7.6.4.3
>   "The feraiseexcept function attempts to raise the supported floating-point
>    exceptions represented by its argument. 266)
>    Footnote 266) The effect is intended to be similar to that of floating-point
>    exceptions raised by arithmetic operations. Hence, implementation extensions
>    associated with raising a floating-point exception (for example, enabled
>    traps or IEC 60559 alternate exception handling) should be honored."
> 
> This does not work. How to reproduce:
> [...]

Thanks for the report and the simple testcase.  I checked in a patch.
It will be in the test build cygwin-3.5.0-0.450.g2ef627c46eb2 in an
hour or two, if you want to give it a try.


Thanks again,
Corinna

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019