add sdivmod;
improve build system;
This commit is contained in:
parent
07c64779d8
commit
8480d55faf
11 changed files with 190 additions and 73 deletions
12
llrtc/lib/llrt.h
Normal file
12
llrtc/lib/llrt.h
Normal 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_ */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue