delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/08/13/17:29:28

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:content-type
:content-transfer-encoding:date:from:to:subject:in-reply-to
:references:message-id; q=dns; s=default; b=nHWHW4WRZqFM+Mu+4RHB
BGvay9nhkAhqW4lLFO82rqHFLcQ8gCAVaNXhJeIuqjgeUEeCKClTJWKwvZ4yCNXe
DNIvCz2FSVq7bYXYpjgZLdjri6E+tik7aKW8sDzz0/OcPIZLtdo25hUWuHtGA+B9
UCgInyRpwmYM71X/vmOeT64=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:content-type
:content-transfer-encoding:date:from:to:subject:in-reply-to
:references:message-id; s=default; bh=yRIvIsoeorPoP/OxDHbVoaLA0a
M=; b=vZW3dHHFY/ZALptgNJ5cuqjsNx0qgvFpiadh+IGK4Nd2xMQz/mDq0buYNP
4xBTw/Z5T/kvTQ2/a+WI1tE/rUJYHVCUBEqThfFquncN7feEGi9qSHGnvONY3772
OZR/lrWC/6H5hMo1vOGs7f6JnG7q33I+dYF/NOf41LBt1YvvM=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=H*r:sk:webmail, Hx-spam-relays-external:sk:webmail, H*RU:sk:webmail, H*UA:Webmail
X-HELO: lb2-smtp-cloud9.xs4all.net
MIME-Version: 1.0
Date: Mon, 13 Aug 2018 23:29:05 +0200
From: Houder <houder AT xs4all DOT nl>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.11.0-0.1
In-Reply-To: <57b3092a9b5027be5f14e59c305200bc@smtp-cloud8.xs4all.net>
References: <announce DOT 20180809202604 DOT GN4180 AT calimero DOT vinschen DOT de> <cc1d684fabcfe5e581ec82aae1617471 AT smtp-cloud8 DOT xs4all DOT net> <20180810114254 DOT GA25560 AT calimero DOT vinschen DOT de> <57b3092a9b5027be5f14e59c305200bc AT smtp-cloud8 DOT xs4all DOT net>
Message-ID: <71f1280d04f70e8b74cfce78ba5690d3@xs4all.nl>
X-Sender: houder AT xs4all DOT nl
User-Agent: XS4ALL Webmail
X-IsSubscribed: yes
Note-from-DJ: This may be spam

On 2018-08-10 14:43, Houder wrote:
> On Fri, 10 Aug 2018 13:42:54, Corinna Vinschen wrote:
> [snip]
> 
>> > Note: the following line must be changed in STC-FENV.c (the STC that was
>> > attached to the bug report -- the last one above).
>> >
>> > from:
>> > const int xxx =3D 0x3d; // FE_ALL_EXCEPT on Linux, i.e. the denormal-...
>> >                         // exception is excluded on Linux
>> >
>> > to:
>> > const int xxx =3D 0x3f; // Cygwin allows the denormal-operand exception;
>> >                         // Linux (Andreas Jaeger) does not.
>> >                         // This exception is not defined by the IEEE 754
>> >                         // standard (Floating-Point Arithmetic)
>> 
>> Shall we change that?  A patch would be nice. ;)
> 
> That is possible ...
> 
> As on Linux, the denormal-operand exception will always be masked after 
> this
> change ... (both in the default env. and in the "nomask" env.)
> 
> Meaning that, after this change, this exception can * no longer * be 
> enabled
> through the API of fenv.h
> 
> Objections? Anyone?
> 
> The modication would require changing:
> 
> winsup/cygwin/fenv.cc (_feinitialise() )
> winsup/cygwin/include/fenv.h (FE_ALL_EXCEPT)

GRRR! The file encoding of fenv.h is "cp1252" because of 2 characters in 
this
line:

      Intel® 64 and IA-32 Architectures Software Developer’s Manuals:

... part of a comment at the beginning of the file.

(the registered trademark sign (u00ae) is encoded as 0xae (cp1252), 
while it
  would be: 0xc2 0xae, in utf-8,
  the right single quotation mark (u2019) is encoded as 0x92 (cp1252), 
but in
  utf-8 it would be: 0xc2 0x80 0x98)

I intend to convert the file encoding of fenv.h to utf-8. Is that a 
"No-No"
or is it allowed? (I assume GIT will notice).

Regards,
Henri

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

- Raw text -


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