From 8fcae449cc6740834c5111633b4f17dd2898a7a6 Mon Sep 17 00:00:00 2001 From: Leon Wolf Date: Fri, 9 Feb 2024 12:24:41 +0100 Subject: [PATCH] refactoring: changed descriptions for 3 subtraction function --- src/arithmeticSubtraction.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/arithmeticSubtraction.c b/src/arithmeticSubtraction.c index bbabad9..339431b 100644 --- a/src/arithmeticSubtraction.c +++ b/src/arithmeticSubtraction.c @@ -2,21 +2,21 @@ #include -// arithmetic subtraction integer +// arithmetic subtraction for integer int* subtraction_integer(int a, int b) { int* result= malloc(sizeof (int)); *result=a - b; return result; } -// arithmetic subtraction float +// arithmetic subtraction for float float* subtraction_float(float a, float b) { float* result= malloc(sizeof (float)); *result=a - b; return result; } -// arithmetic subtraction double +// arithmetic subtraction for double double* subtraction_double(double a, double b) { double* result= malloc(sizeof (double)); *result=a - b;