Is there anyway to customise how .NET handles floating point exceptions?
问题 Apparently the CLR handles floating point exceptions by ignoring the exception and returning a default value. In the case of a floating point overflow for example, the CLR returns +Infinity, but no exception is raised. Delphi on the other hand, by default will raise an exception in the case of an overflow. This is controlled by FPU exception flags, and you can make Delphi do the same thing as the CLR by setting the exception flags accordingly. All well and good. I have a numerical library