C++ Problems BIS
Posted by andrea.odetti-2 on
URL: http://quantlib.414.s1.nabble.com/C-Problems-BIS-tp2463.html
Hi,
just a little C++ question...
how can I catch mathematical exceptions?
I mean, if I compute log(-1), result is -#IND.0000 (or something like
this).
I would like an exception to be thrown and catched in my exception handler.
I can check "errno" after every calculation but it is not so pretty...
any idea?