def _as_inexact(x):
 x = asarray(x)
 if (not np.issubdtype(x.dtype, np.inexact)):
  return asarray(x, dtype=np.float_)
 return x

def _as_inexact ( x ) : x = asarray ( x ) if ( not np . issubdtype ( x . dtype , np . inexact ) ) : return asarray ( x , dtype = np . float_ ) return x
return x as an array .