ref: dea69649e49ba7a208c62ba0d4dc3bfb1d341353 dir: /libnpe/div.c/
#include <stdlib.h> div_t div(int n, int d) { return (div_t){n/d, n%d}; }