X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Samuel Lauber" Newsgroups: comp.os.msdos.djgpp Subject: Strange problems with printf() Lines: 15 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Message-ID: Date: Sat, 08 Jan 2005 06:54:37 GMT NNTP-Posting-Host: 204.210.96.202 X-Complaints-To: abuse AT rr DOT com X-Trace: twister.socal.rr.com 1105167277 204.210.96.202 (Fri, 07 Jan 2005 22:54:37 PST) NNTP-Posting-Date: Fri, 07 Jan 2005 22:54:37 PST Organization: RoadRunner - West To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I try to use printf("%f") on any floating-point number except 0, and for some crazy reason, it always says `Unnormal'. This is a testcase that reproduces the problem: int printf(char *, ...); int main(void) { printf("%f\n", 1); } Compile it, and it would say `Unnormal'. Is this a bug?