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