Mail Archives: djgpp/1997/10/29/10:51:33
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 <math.h>
>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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Raw text -