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