Commit a40db948 authored by Fabian Bauer's avatar Fabian Bauer
Browse files

minor: comments

parent f8d76af6
Loading
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -175,9 +175,9 @@ static Word16 GetSubbandCorrIndex2_har_fx( /* o :
            L_corr_sq = L_mult_o( corr_sq_hi_fx, corr_sq_hi_fx, &Overflow ); /* (((Qhi:Qsh+exp_norm_hi-16)+Qss+1)+exp_norm-16)*2+1 */
#ifdef ISSUE_1799_replace_L_shr_o
            L_corr_sq = L_shr_sat( L_corr_sq, s_min( shl( exp_norm, 1 ), 31 ) ); /* (QCorr-16)*2+1 */
            /*  Catching a false-positive Overflow: solve MAX_32 = x * 2^y for integers x < 2^31 and y :
                x has to be MAX_32 and y has to be 0
                So, a saturated overflow has occured if the result is MAX_32 and y is != 0*/
            /*  Catching an Overflow: solve MAX_32 = x * 2^y for integers x < 2^31 and y :
                x = MAX_32 && y == 0
                So, a saturated overflow has occured if the result is MAX_32 and y != 0 OR x != MAX_32*/
            test();
            IF( L_corr_sq == MAX_32 && ( exp_norm < 0 ) )
            {