Revert: Use floor in vec_cast

Won't compile under Linux