From 39b71d6cf10615dfb16cc72cf2c1bb859d9a6892 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Wed, 10 Apr 2024 14:22:20 +0200 Subject: some small changes. --- factorial.hpp | 9 --------- types.hpp | 3 --- 2 files changed, 12 deletions(-) delete mode 100644 factorial.hpp delete mode 100644 types.hpp diff --git a/factorial.hpp b/factorial.hpp deleted file mode 100644 index ddc0bac..0000000 --- a/factorial.hpp +++ /dev/null @@ -1,9 +0,0 @@ -#pragma once - -long unsigned factorial(unsigned p) { - if (p == 0) { - return 1; - } else { - return p * factorial(p - 1); - } -} diff --git a/types.hpp b/types.hpp deleted file mode 100644 index 86ccb8f..0000000 --- a/types.hpp +++ /dev/null @@ -1,3 +0,0 @@ -#pragma once - -using Real = double; -- cgit v1.2.3-70-g09d2