fix dtypes for floor/ceil