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 Subject: Re: ilogbl(NaN) is wrong Message-ID: Mail-Followup-To: Bruno Haible , cygwin AT cygwin DOT com References: <3634818 DOT CpGBqz00pN AT nimes> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <3634818.CpGBqz00pN@nimes> X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Corinna Vinschen via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Corinna Vinschen , cygwin AT cygwin DOT com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" 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