Commit 9435485e authored by malenov's avatar malenov
Browse files

Chnage to _newton version of the BASOP divide function

parent 6effe4b2
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1379,7 +1379,7 @@ void stereo_dft_enc_compute_itd_fx(
            sum_nrg_delta = L_min( sum_nrg_delta, L_negate( L_shl( 1, sum_nrg_delta_e ) ) );
        }
        // angle_rot = fabsf( atanf( 2.0f * ( grand_dot_prod_real ) / sum_nrg_delta ) );
        L_temp2 = BASOP_Util_Divide3232_Scale_cadence( grand_dot_prod_real, sum_nrg_delta, &L_temp2_e );
        L_temp2 = BASOP_Util_Divide3232_Scale_newton( grand_dot_prod_real, sum_nrg_delta, &L_temp2_e );
        L_temp2_e = add( L_temp2_e, sub( add( grand_dot_prod_real_e, 1 ), sum_nrg_delta_e ) );
        angle_rot = L_abs( BASOP_util_atan( L_shr_r_sat( L_temp2, ( sub( 6, L_temp2_e ) ) ) ) ); // Q14
#else