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

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

First import

File size: 198 bytes
RevLine 
[1]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.