Sign in
cobalt
/
cobalt
/
refs/tags/24.lts.20
/
.
/
third_party
/
musl
/
src
/
stdlib
/
imaxdiv.c
blob: b2ce821f51e3e2428e773e2e9eae6c2156157fb6 [
file
] [
log
] [
blame
]
#include
<inttypes.h>
imaxdiv_t
imaxdiv
(
intmax_t
num
,
intmax_t
den
)
{
return
(
imaxdiv_t
){
num
/
den
,
num
%
den
};
}