kdiv is a generator for routines for optimized division by an integer  constant.