Trapping FPE signals with C++ exceptions