parameters: (x)
return_statement: return x
docstring: Return `x` as an array, of either floats or complex floats
docstring_summary: Return `x` as an array, of either floats or complex floats
docstring_tokens: Return x as an array of either floats or complex floats
function: def _as_inexact(x):
      """Return `x` as an array, of either floats or complex floats"""
      x = asarray(x)
      if not np.issubdtype(x.dtype, np.inexact):
          return asarray(x, dtype=np.float_)
      return x
function_tokens: def _as_inexact ( x ) : x = asarray ( x ) if not np . issubdtype ( x . dtype , np . inexact ) : return asarray ( x , dtype = np . float_ ) return x