summaryrefslogtreecommitdiffstats
path: root/loans.h
diff options
context:
space:
mode:
Diffstat (limited to 'loans.h')
-rw-r--r--loans.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/loans.h b/loans.h
index 8613028..fd276ae 100644
--- a/loans.h
+++ b/loans.h
@@ -1,5 +1,6 @@
#pragma once
#include <stdlib.h>
+#include <math.h>
#include "contract.h"
/**** BULLET LOAN ****/
@@ -11,3 +12,8 @@ void bullet_free(contract *c);
contract *sl_init(int n, int d, float r, float P);
float sl_update(contract *);
void sl_free(contract *);
+
+/**** MORTGAGE ****/
+contract *mort_init(int n, int d, float r, float P);
+float mort_update(contract *);
+void mort_free(contract *);