source: trunk/sys/dietlibc/lldiv.c @ 428

Last change on this file since 428 was 1, checked in by alain, 8 years ago

First import

File size: 198 bytes
Line 
1#define _GNU_SOURCE
2#include <stdlib.h>
3
4lldiv_t lldiv(long long numerator, long long denominator) {
5  lldiv_t x;
6  x.quot=numerator/denominator;
7  x.rem=numerator-x.quot*denominator;
8  return x;
9}
Note: See TracBrowser for help on using the repository browser.