add sdivmod;

improve build system;
This commit is contained in:
Siu Kwan Lam 2013-08-14 15:29:13 -05:00
commit 8480d55faf
11 changed files with 190 additions and 73 deletions

12
llrtc/lib/llrt.h Normal file
View file

@ -0,0 +1,12 @@
#ifndef LLRT_H_
#define LLRT_H_
#include <stdint.h>
#define BITS_PER_BYTE 8
uint64_t udivmod64(uint64_t dividend, uint64_t divisor, uint64_t *remainder);
int64_t sdivmod64(int64_t dividend, int64_t divisor, int64_t *remainder);
#endif /* LLRT_H_ */