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