Moved truncation code to trunc.c.