Btw., turns out we could have just used `cython.floating`, the built-in "float or double" type.