| delorie.com/archives/browse.cgi | search |
| From: | matteotti carlo <matteott AT ior DOT unizh DOT ch> |
| 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 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
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.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |