diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2020-05-24 16:48:22 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2020-05-25 21:57:14 +0200 |
commit | 31c69b6ca1b91e7fd9fd8e14082fd2584c5f538c (patch) | |
tree | 16e789c7d68608831b498f41f54d9482b82a711a /include/math.h |
first public release
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'include/math.h')
-rw-r--r-- | include/math.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/math.h b/include/math.h new file mode 100644 index 0000000..cea9222 --- /dev/null +++ b/include/math.h @@ -0,0 +1,19 @@ +#ifndef MATH_H_INCLUDED +#define MATH_H_INCLUDED + +#include <stdlib.h> +#include <stdint.h> + +uint64_t __udivmoddi4(uint64_t num, uint64_t den, uint64_t * rem_p); + +uint64_t __umoddi3(uint64_t num, uint64_t den); + +int64_t __moddi3(int64_t num, int64_t den); + +uint64_t __udivdi3(uint64_t num, uint64_t den); + +int64_t __divdi3(int64_t num, int64_t den); + +size_t __pow(size_t x, size_t n); + +#endif // MATH_H_INCLUDED |