blob: b2ce821f51e3e2428e773e2e9eae6c2156157fb6 [file] [log] [blame] [edit]
#include <inttypes.h>
imaxdiv_t imaxdiv(intmax_t num, intmax_t den)
{
return (imaxdiv_t){ num/den, num%den };
}