Disable floating point underflow exceptions

They often occur in reverb, chorus and IIR and break our CI for no good reason.
This commit is contained in:
derselbst 2021-01-23 16:00:42 +01:00
parent 8e9d361651
commit fff51822eb
1 changed files with 1 additions and 1 deletions

View File

@ -278,7 +278,7 @@ fluid_synth_init(void)
{ {
#ifdef TRAP_ON_FPE #ifdef TRAP_ON_FPE
/* Turn on floating point exception traps */ /* Turn on floating point exception traps */
feenableexcept(FE_DIVBYZERO | FE_UNDERFLOW | FE_OVERFLOW | FE_INVALID); feenableexcept(FE_DIVBYZERO | FE_OVERFLOW | FE_INVALID);
#endif #endif
init_dither(); init_dither();