Commit 9033bb58 authored by Arash Azizi's avatar Arash Azizi
Browse files

issue 2622: Completing the rigged assert to see if there are cases where value...

issue 2622: Completing the rigged assert to see if there are cases where value diverges from the value in floating point counterpart
parent d53daaae
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -890,8 +890,10 @@ void stereo_dft_enc_update_fx(
    tmp = BASOP_Util_Divide3232_Scale_newton( tmp, hStereoDft->NFFT, &exp );
    hStereoDft->res_cod_line_max = extract_l( L_shr( tmp, sub( 31, exp ) ) );
#ifdef DEBUG_ISSUE_2622_MISS_SUM
    Word32 tmp2 = add(tmp >> (31-exp))

    Word16 exp2 = 0;
    Word32 tmp2 = BASOP_Util_Add_Mant32Exp(tmp, exp, ONE_IN_Q30 >> exp, exp, &exp2);
    Word16 final_res = extract_l(L_shr(tmp2, sub(31, exp2)));
    assert(EQ_16(hStereoDft->res_cod_line_max, final_res));
#endif // DEBUG_ISSUE_2622_MISS_SUM
    move16();
    // hStereoDft->res_cod_line_max = 8 * (hStereoDft->res_cod_line_max / 8);