Browse Source

refactoring: added descriptions to a function

remotes/origin/develop
Sandro Welte 11 months ago
parent
commit
838f3180b5
  1. 2
      src/arithmeticMultiplication_Double.c

2
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;
}
Loading…
Cancel
Save