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

delete float reference for VectorLength_fx

parent dd2208a4
Loading
Loading
Loading
Loading
Loading
+0 −12
Original line number Diff line number Diff line
@@ -527,18 +527,6 @@ static Word32 VectorLength_fx(
    IVAS_VECTOR3 p,
    Word16 *q_fact )
{
#if 0
  double x, y, z;
  double len;
  Word32 len_fx;
  x = p.x_fx / pow( 2, p.q_fact );
  y = p.y_fx / pow( 2, p.q_fact );
  z = p.z_fx / pow( 2, p.q_fact );
  len = sqrt( x * x + y * y + z * z );
  *q_fact = p.q_fact;
  len_fx = (Word32) ( len * pow( 2, p.q_fact ) );
  return len_fx;
#endif

    Word16 sqrt_e;
    Word32 result_fx;