Mail Archives: djgpp/1993/01/25/04:57:47
In addition to the previously mailed 'division by zero' bug:
a little testing with other coprocessor exceptions showed that
in fact *ALL* coprocessor exceptions are NOT TRAPPED anymore.
Example:
----------------------------------------------------------------------
#include <math.h>
#include <stdio.h>
int main()
{
double x = sqrt(-4);
printf ("x = %g\n", x);
return 0;
}
----------------------------------------------------------------------
returns: x = -4
I'm looking at the go32 sources to find the cause,
but perhaps some 'genius' has found it already...
Pieter Kunst (kunst AT prl DOT philips DOT nl)
- Raw text -