MATH Error in MS C 5.0
Greg Comeau
greg at csanta.UUCP
Sat Apr 9 14:26:15 AEST 1988
In article <734 at virginia.acc.virginia.edu> jap7g at psy3b2.psyc.Virginia.EDU (Jim A. Pisano) writes:
>I get the error:
>run-time error M6101: MATH
>- floating-point error: invalid
>
>Here's my question: How can I find out where that NAN is? I have CodeView,
>but I haven't figured out how to trap this math error short of checking
>every variable everywhere. Is there a way to set a tracepoint when the
You might be able to find out by using the signal() function so that
it traps SIGFPE and jumps to one of your routines.
More information about the Comp.lang.c
mailing list