I found this very useful question on how to break on invalid float operations in C++: Visual Studio C++ 2008 / 2010 - break on float NaN. How can I achieve the same thing in C#?
Asked
Active
Viewed 178 times
1
-
2http://stackoverflow.com/questions/2251507/how-do-i-force-the-c-sharp-compiler-to-throw-an-exception-when-any-math-operatio? – CodeCaster Jan 12 '15 at 11:09
-
You don't. You need to workaround it, see CodeCasters linked question. – Patrick Hofman Jan 12 '15 at 11:12