#include imaxdiv_t imaxdiv(intmax_t num, intmax_t den) { return (imaxdiv_t){ num/den, num%den }; } #ifdef TEST int main(void) { return 0; } #endif