aboutsummaryrefslogtreecommitdiffstats
path: root/reworking
diff options
context:
space:
mode:
authormjfernez <mjfernez@gmail.com>2020-02-09 15:16:26 -0500
committermjfernez <mjfernez@gmail.com>2020-02-09 15:16:26 -0500
commit93ea7fe5957b62f18e8fbd17a21696bd7de6332d (patch)
treed90aed60d687bcf195f1150777f37cbe8a149814 /reworking
parent125ec5bc3d8bfc224b7d32bcfbbc37b9fb5d441f (diff)
downloadProject_Euler_Solutions-93ea7fe5957b62f18e8fbd17a21696bd7de6332d.tar.gz
Organized everything, update README
Diffstat (limited to 'reworking')
-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;
+}
+