Skip to content

Commit aa02a21

Browse files
committed
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.
1 parent a058047 commit aa02a21

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/core/main.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,10 +252,11 @@ int main( int argc, char * * argv )
252252
{
253253
#ifdef LMMS_DEBUG_FPE
254254
// Enable exceptions for certain floating point results
255+
// FE_UNDERFLOW is disabled for the time being
255256
feenableexcept( FE_INVALID |
256257
FE_DIVBYZERO |
257-
FE_OVERFLOW |
258-
FE_UNDERFLOW);
258+
FE_OVERFLOW /*|
259+
FE_UNDERFLOW*/);
259260

260261
// Install the trap handler
261262
// register signal SIGFPE and signal handler

0 commit comments

Comments
 (0)