X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f X-Recipient: djgpp-workers AT delorie DOT com Date: Tue, 05 Mar 2013 23:51:40 +0200 From: Eli Zaretskii Subject: Re: Printing sign of NaN. In-reply-to: <51364BCD.1030807@gmx.de> X-012-Sender: halo1 AT inter DOT net DOT il To: djgpp-workers AT delorie DOT com Message-id: <83y5e11pn7.fsf@gnu.org> References: <51364BCD DOT 1030807 AT gmx DOT de> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Tue, 05 Mar 2013 20:47:25 +0100 > From: Juan Manuel Guerrero > > ONFY while I was testing trunc() I noted that printf did not print the > sign of NaN. The committed small patch below fixes the issue. Isn't NaN always negative? Do you succeed in printing both negative and positive NaN with this patch? Apologies if my failing memory just failed me again.