Date: Mon, 25 Apr 94 10:21:53 EDT From: peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock) To: heidrich AT stud DOT u-szeged DOT hu Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: Rubbish output under MS-Windows 3.1 Reply-To: babcock AT cfa DOT harvard DOT edu > I wrote a very simple program which runs ok under MS-DOS (several > versions from 5.0 to 6.2, all with just himem.sys loaded), but driving > crazy if compiled under Windows DOS-session. > All the printf()-s write wrong numbers (the strings are OK), builtin > constans go wrong, variables turn 'NaN'. When you run under Windows, you are using DPMI, so the environment is different. Do you have a numeric coprocessor or are you using an emulator, and if so, which one?