delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/04/18/07:57:41

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B20F03857348
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1681819023;
bh=ArTeTsO6pN4EVWfyRinc3uWxi/np+rTCZfZhHJ0vUnM=;
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=bgP29fvoucQ+NVs9EzAd9GgeewKMEDVF5D7tzU4tFQuep4B9ppqGEbNYmI9HRTHHO
cHs2sGgEOfUcycbgjngbLFxQvaMI8sNSS57xnEEr4Uj6RffsRv4mtZBFfABI9UXN3y
fTa4e0pNXTL7b/Q2SC72CiqiQGoE/5+DDaaQk0Cs=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 92510385840E
Date: Tue, 18 Apr 2023 13:56:47 +0200
To: Bruno Haible <bruno AT clisp DOT org>
Subject: Re: ilogbl(NaN) is wrong
Message-ID: <ZD6Ff44F+oyluUMz@calimero.vinschen.de>
Mail-Followup-To: Bruno Haible <bruno AT clisp DOT org>, cygwin AT cygwin DOT com
References: <3634818 DOT CpGBqz00pN AT nimes>
MIME-Version: 1.0
In-Reply-To: <3634818.CpGBqz00pN@nimes>
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
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>

On Apr 18 13:21, Bruno Haible via Cygwin wrote:
> POSIX [1] specifies that the return value of the functions ilogbf(), ilogb(),
> ilogbl() for a NaN argument should all be the same, namely FP_ILOGBNAN.
> 
> [1] https://pubs.opengroup.org/onlinepubs/9699919799/functions/ilogb.html
> 
> In Cygwin 3.4.6, the value of ilogbl(NaN) is not right.

Thanks, I pushed a patch.

A test release cygwin-3.5.0-0.283.gfa84aa4dd2fb containing this patch
is building right now.  You can install it via setup as soon as it's
available (roughly in an hour).


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