Skip to content

Double precision arithmetic in MDCT core

There are used double precision mathematical functions in the MDCT core.

  • \lib_enc\ivas_mdct_core_enc.c(231): v_multc( y, (float) sqrt( (float) NORM_MDCT_FACTOR / ( l / 2 + m + r / 2 ) ), y, l / 2 + m + r / 2 ); -> sqrtf()
  • \lib_enc\ivas_mdct_core_enc.c(280): v_multc( sigR, (float) sqrt( (float) NORM_MDCT_FACTOR / s ), sigR, s ); -> sqrtf()

Consider to use single precision counterparts.