From d7a9ea3009562ae94f2218d7af5bfb314dcef963 Mon Sep 17 00:00:00 2001 From: Leon Wolf Date: Thu, 8 Feb 2024 18:34:18 +0100 Subject: [PATCH] arithmetic Subtraction specification --- src/arithmeticSubtraction.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/arithmeticSubtraction.c b/src/arithmeticSubtraction.c index 31d5c94..ed08d04 100644 --- a/src/arithmeticSubtraction.c +++ b/src/arithmeticSubtraction.c @@ -14,6 +14,7 @@ float* subtraction_float(float a, float b) { *result=a - b; return result; } +//arithmetic Subtraction specification double double* subtraction_double(double a, double b) { double* result= malloc(sizeof (double)); *result=a - b;