diff options
Diffstat (limited to 'loans.h')
| -rw-r--r-- | loans.h | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -18,21 +18,21 @@ typedef struct loan { #pragma clang diagnostic pop /**** BULLET LOAN ****/ -contract *bullet_init(int n, int d, float r, float P); -float bullet_update(contract *); +contract *bullet_init(int n, int d, double r, double P); +double bullet_update(contract *); void bullet_free(contract *c); /**** STRAIGHT LINE ****/ -contract *sl_init(int n, int d, float r, float P); -float sl_update(contract *); +contract *sl_init(int n, int d, double r, double P); +double sl_update(contract *); void sl_free(contract *); /**** MORTGAGE ****/ -contract *mort_init(int n, int d, float r, float P); -float mort_update(contract *); +contract *mort_init(int n, int d, double r, double P); +double mort_update(contract *); void mort_free(contract *); /**** GENERAL LOAN STUFF ****/ -loan loan_init(loan_type type, int n, int d, float r, float P); -float loan_update(loan); +loan loan_init(loan_type type, int n, int d, double r, double P); +double loan_update(loan); void loan_free(loan); |
