summaryrefslogtreecommitdiff
path: root/include/Numerical/Integer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/Numerical/Integer.h')
-rw-r--r--include/Numerical/Integer.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/Numerical/Integer.h b/include/Numerical/Integer.h
new file mode 100644
index 0000000..e41b4f6
--- /dev/null
+++ b/include/Numerical/Integer.h
@@ -0,0 +1,21 @@
+//===--- Integer.h - Integer operations library -----------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIBFLANG_NUMERICAL_INTEGER_H
+#define LLVM_LIBFLANG_NUMERICAL_INTEGER_H
+
+#include "Libflang.h"
+#include <stdint.h>
+
+LIBFLANG_ABI int8_t libflang_pow_i1_i1(int8_t x, int8_t y);
+LIBFLANG_ABI int16_t libflang_pow_i2_i2(int16_t x, int16_t y);
+LIBFLANG_ABI int32_t libflang_pow_i4_i4(int32_t x, int32_t y);
+LIBFLANG_ABI int64_t libflang_pow_i8_i8(int64_t x, int64_t y);
+
+#endif