These aren't cast to doubles using the memory views are they? If not, it is worth IMHO including the expected type in the docstring.