Date: Tue, 3 Jun 1997 22:09:48 -0400 (EDT) From: Philip Ibis To: djgpp AT delorie DOT com Subject: Possible bug? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk Hi there. DJGPP is a godsend. But, I've found something that might qualify as a bug, and I was wondering if it really is.... I've looked at the recommended places, and found no mention of it. But I suppose its easy to miss. It might be due to the fact that I'm using v2.00, if so, then, oops. Anyways... The following program gives my system a wedgie. ---- snip snip --- #include #include int main(void) { double n; memset(&n,0xFF,sizeof(double)); /* contrived, sure */ printf("%f\n",n); } ---- snip snip --- It should print NaN, judging by doprnt.c, but does not. Well, it did when I compiled it like: gcc myprog.c doprnt.c. Please respond via email, as the nntp server out here is dead. Thanks in advance.... Phil