source:
asp3_tinet_ecnl_arm/trunk/musl-1.1.18/src/stdlib/imaxdiv.c@
352
Last change on this file since 352 was 352, checked in by , 6 years ago | |
---|---|
|
|
File size: 114 bytes |
Rev | Line | |
---|---|---|
[352] | 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.