FPE debug - Disable FE_UNDERFLOW

FE_UNDERFLOW gives a fair amount of hits with LMMS but is of lower
importance than the other tests and slows down debugging considerably.
Commenting out for the time being.
This commit is contained in:
Oskar Wallgren
2020-12-29 15:07:09 +01:00
parent a058047375
commit aa02a21541

View File

@@ -252,10 +252,11 @@ int main( int argc, char * * argv )
{
#ifdef LMMS_DEBUG_FPE
// Enable exceptions for certain floating point results
// FE_UNDERFLOW is disabled for the time being
feenableexcept( FE_INVALID |
FE_DIVBYZERO |
FE_OVERFLOW |
FE_UNDERFLOW);
FE_OVERFLOW /*|
FE_UNDERFLOW*/);
// Install the trap handler
// register signal SIGFPE and signal handler