Sun FPU question

Wayne A. Christopher faustus at dogwood.Berkeley.EDU
Sat Mar 4 08:58:15 AEST 1989


It seems that on some Suns, the FPU by default doesn't signal
divide-by-zero errors, but makes the result Inf or NaN.  Is there a way
to make it give a floating point error?  Does gcc have a flag for
this?  How about the MIPS compiler, which has the same behavior?

	Wayne



More information about the Comp.lang.c mailing list