From 838f3180b5c005b22f74f24708a54612b350ee8f Mon Sep 17 00:00:00 2001 From: Sandro Welte Date: Thu, 8 Feb 2024 19:32:27 +0100 Subject: [PATCH] refactoring: added descriptions to a function --- src/arithmeticMultiplication_Double.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arithmeticMultiplication_Double.c b/src/arithmeticMultiplication_Double.c index f83f0fb..3207551 100644 --- a/src/arithmeticMultiplication_Double.c +++ b/src/arithmeticMultiplication_Double.c @@ -7,6 +7,6 @@ double* multiplication_double(double a, double b) { if (result == NULL) { return NULL; // Handle memory allocation failure } - *result = a * b; + *result = a * b; // we multiply a times b and the result gets saved in *result return result; }