X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f X-Recipient: djgpp-workers AT delorie DOT com From: Martin Strömberg Message-Id: <201303061339.r26DdHPq028840@dexter.ludd.ltu.se> Subject: Re: Printing sign of NaN. To: djgpp-workers AT delorie DOT com Date: Wed, 6 Mar 2013 14:39:16 +0100 (MET) In-Reply-To: <51364BCD.1030807@gmx.de> from "Juan Manuel Guerrero" at Mar 05, 2013 08:47:25 PM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 According to 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. NaN is short for Not a Number. There is no sign. -- MartinS