From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2155) id 92510385840E; Tue, 18 Apr 2023 11:56:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 92510385840E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1681819009; bh=syUDeZrFmdrCVEpYjZ4blDpcbHUbjkfder+e8T9Dn3c=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=AIW4ZWHI7OYX2gKKRG0FkjNdyNyH3OFnNGHO/GGiAje3Knv0g5HEQaOIwg2JybkUC und6kMSgnG6tzFhfcJHO9O6BjLrCVSqpu+SJ+sHvgfIt3dcY1V2kfCTmVHHZiAXbS/ N0kd7Vc82LfZ6CrARRwbW7gzHYAtS9/xSTtqMo+A= Received: by calimero.vinschen.de (Postfix, from userid 500) id 914DBA808C0; Tue, 18 Apr 2023 13:56:47 +0200 (CEST) Date: Tue, 18 Apr 2023 13:56:47 +0200 From: Corinna Vinschen To: Bruno Haible Cc: cygwin@cygwin.com Subject: Re: ilogbl(NaN) is wrong Message-ID: Reply-To: cygwin@cygwin.com Mail-Followup-To: Bruno Haible , cygwin@cygwin.com References: <3634818.CpGBqz00pN@nimes> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <3634818.CpGBqz00pN@nimes> List-Id: 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