From: zonekeep AT bigfoot DOT com (ZKeeper) Newsgroups: comp.os.msdos.djgpp Subject: DLL returning floating point using RSXNTDJ - float_nan.zip (0/1) Date: Tue, 22 Dec 1998 07:16:25 GMT Organization: SEEDNet News Service Lines: 10 Message-ID: <367f464f.7392695@news.seed.net.tw> NNTP-Posting-Host: james.qts.com.tw X-Newsreader: Forte Free Agent 1.11/32.235 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I get a problem to have functions in DLL to return floating point The strange thing is if the function takeing no argument then everything is ok, otherwise, the return value became "nan" (not a number) Any idea? I include a example to demo my point, it is compile with RSXNTDJ 1.3.1 and gcc 2.8.1