mirror of
https://github.com/fluencelabs/musl
synced 2025-05-02 18:42:15 +00:00
7 lines
114 B
C
7 lines
114 B
C
|
#include <inttypes.h>
|
||
|
|
||
|
imaxdiv_t imaxdiv(intmax_t num, intmax_t den)
|
||
|
{
|
||
|
return (imaxdiv_t){ num/den, num%den };
|
||
|
}
|