aboutsummaryrefslogtreecommitdiffstats
path: root/reworking/sumexp.c
diff options
context:
space:
mode:
Diffstat (limited to 'reworking/sumexp.c')
-rw-r--r--reworking/sumexp.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/reworking/sumexp.c b/reworking/sumexp.c
new file mode 100644
index 0000000..8078909
--- /dev/null
+++ b/reworking/sumexp.c
@@ -0,0 +1,15 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <gmp.h>
+
+// Compile Notes: use `gcc <program>.c -lgmp`
+
+mpz_t num;
+
+int main(){
+
+ // From docs, this assigns num the value of (op1*2) ^ op2
+ mpz_mul_2exp(num, )
+ return 0;
+}
+