Browse Source

refactoring: removed unnecessary description

remotes/origin/develop
Sandro Welte 11 months ago
parent
commit
ff9a829bfb
  1. 2
      src/arithmeticMultiplication_Float.c

2
src/arithmeticMultiplication_Float.c

@ -4,7 +4,7 @@
float* multiplication_float(float a, float b) { float* multiplication_float(float a, float b) {
float* result = (float*)malloc(sizeof(float)); float* result = (float*)malloc(sizeof(float));
if (result == NULL) { if (result == NULL) {
return NULL; // Handle memory allocation failure
return NULL;
} }
*result = a * b; *result = a * b;
return result; return result;

Loading…
Cancel
Save