Message-Id: <1.5.4.32.19971029155233.006aebfc@dce03.ipt.br> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Wed, 29 Oct 1997 13:52:33 -0200 To: denlee AT see DOT sig (Dennis Lee), djgpp AT delorie DOT com From: Cesar Scarpini Rabak Subject: Re: (second try) Possible bug in startup code for math emulator Precedence: bulk At 06:08 29/10/97 GMT, Dennis Lee wrote: >Hello again, > >I didn't receive a reply to my earlier post, so I'm trying again >from a different news server in case the last one didn't >'spread'. > >My program which uses floating-point math fails >in a Win95 DOS Shell when trying to use math >emulation (387=N). Under a real DOS session, >it runs fine. I was able to track down the problem, >and apparently any program that uses floating-point >will fail under the above conditions. > >A specific example is: > >#include >int main() { > float x = floor(-1.5); > return 0; >} > >This has been tested on a Pentium and PPro. >Is this a known problem ? Just for the sake of a better grasp of all varieties of Intel like chips: is there such a beast like a Pentium or PPRo w/o math c-processor? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Cesar Scarpini Rabak E-mail: csrabak AT ipt DOT br DME/ASC Phone: 55-11-268-3522 Ext.350 IPT - Instituto de Pesquisas Tecnologicas Fax: 55-11-268-5996 Av. Prof. Almeida Prado, 532. Sao Paulo - SP 05508-901 BRAZIL ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~