I want my FPE!
Mark Geisert
mark@maxrnd.com
Wed Dec 9 06:55:00 GMT 2009
Mark Geisert writes:
> I've tried many things [...]
...but I neglected the possibility of compiler expression optimization. I
replaced "1E200L * 1E200L" with "d * d" where d is initialized with 1E200L.
Voila, SIGFPE results and is trapped the way I wanted to.
I'm still looking for a way to similarly handle integer overflow exceptions.
Thanks,
..mark
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list