delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2013/03/05/16:52:53

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 <eliz AT gnu DOT org>
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

> Date: Tue, 05 Mar 2013 20:47:25 +0100
> From: Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de>
> 
> 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.

- Raw text -


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