floor, ceiling for non-complex numbers