Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
e69608700fa5a6920b3c8ba9951f43f5d4ec0eaa
/
.
/
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
};
}