Divide by zero?

Nick Burrett nick at sqrt.co.uk
Sun Jan 2 12:05:36 PST 2005


John Tytgat said:

> Incidently, does someone know if C99 specifies something in this area ?

Yes, the signal SIGFPE is raised.  If our signal system implemented signal
codes, then we would also set FPE_INTDIV.

See:
http://www.opengroup.org/onlinepubs/009695399/basedefs/signal.h.html




More information about the gcc mailing list