I meant that ceil had never been used or defined locally anywhere in simh code.

Of course it is defined in <math.h>