differentials

calculator for differentials of x^n sequences
git clone git://git.yotsev.xyz/differentials.git
Log | Files | Refs | README | LICENSE

commit 19a8b76a362838b9c483c00568cffe8856a736eb
parent 22e87604cb6de91be74f022405e76c75ac1c3946
Author: Petar Yotsev <petar@yotsev.xyz>
Date:   Wed, 23 Jun 2021 11:31:36 +0100

Remove boost multiprecision dep and gcc debug flag

Diffstat:
MMakefile | 2+-
MREADME.md | 7-------
Mmain.cpp | 4++--
3 files changed, 3 insertions(+), 10 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,5 +1,5 @@ CC = g++ -CC_FLAGS = -g -O2 +CC_FLAGS = -O2 EXEC = prog SOURCES = $(wildcard *.cpp) diff --git a/README.md b/README.md @@ -1,10 +1,3 @@ -## Dependencies - -* Boost libraries and headers, namely multiprecision - -This dependency is not really required anymore and it will soon be -removed but for now you need it to compile the program. - ## Compilation $ make diff --git a/main.cpp b/main.cpp @@ -1,14 +1,14 @@ -#include <boost/multiprecision/cpp_int.hpp> #include <iostream> +#include <iterator> #include <map> #include <math.h> +#include <sstream> #include <vector> #define SEQUENCE_SIZE 7 #define POWER 7 // also the maximum space a number in the sequence takes using namespace std; -using namespace boost::multiprecision; /* the functions doing actual calculations */ void populate(const string& deffinition);