source:
EcnlProtoTool/trunk/musl-1.1.18/src/stdlib/imaxdiv.c@
444
Last change on this file since 444 was 444, checked in by , 4 years ago | |
---|---|
|
|
File size: 114 bytes |
Rev | Line | |
---|---|---|
[444] | 1 | #include <inttypes.h> |
2 | ||
3 | imaxdiv_t imaxdiv(intmax_t num, intmax_t den) | |
4 | { | |
5 | return (imaxdiv_t){ num/den, num%den }; | |
6 | } |
Note:
See TracBrowser
for help on using the repository browser.