From: matteotti carlo Newsgroups: comp.os.msdos.djgpp Subject: long doubles and NaNs Date: Mon, 16 Jun 1997 10:35:32 -0700 Organization: Universitaet Zuerich Lines: 9 Message-ID: <33A57964.4C1D@ior.unizh.ch> NNTP-Posting-Host: iorpc13.unizh.ch Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-7 Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I'm a beginner with C++ and I just started with DJGPP. As a little exercise I've written a stupid little "program" which should read a "real number" as a long double and write this number back to the screen again. But what I get back is just "-NaN". How can I convince the program that e.g. 1.13245 is indeed a number ?? I am using a pentium and win95 and run DJGPP in a DOS box. Thans for help.