For ceil mode is on, I am not very sure. I prefer to also regard the case as illegal because a big kernel for a small input has little meaning... However, if we want to treat it as legal, we could force the output size to be >=1 to produce a valid output as #98485.Sign...