code: def test_return_float():
      x = F.Term("x")
      f = F.Formula([x, x**2])
      xx = F.make_recarray(np.linspace(0, 10, 11), "x")
      dtype = f.design(xx).dtype
      assert set(dtype.names) == {"x", "x**2"}
      dtype = f.design(xx, return_float=True).dtype
      assert dtype == np.float64
  
imports: from warnings import catch_warnings, simplefilter
  import numpy
  import pytest
  import sympy
  from numpy.core.records import fromrecords
  from numpy.testing import assert_almost_equal, assert_array_equal
  from sympy.utilities.lambdify import implemented_function
  from nipy.utils import VisibleDeprecationWarning
  from ..None import formulae
  from ..formulae import Term, terms
label_desc: Use image node_id 26 for calling a global function with example usage: test_return_float() without return types