From e2f50f2de60acae0bfb392f41d0c7769febf8a04 Mon Sep 17 00:00:00 2001 From: Leon Wolf Date: Thu, 8 Feb 2024 20:23:51 +0100 Subject: [PATCH] refactoring: description added for double --- src/trigonometricFunctions.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/trigonometricFunctions.c b/src/trigonometricFunctions.c index a2e1908..6dbdfaf 100644 --- a/src/trigonometricFunctions.c +++ b/src/trigonometricFunctions.c @@ -4,20 +4,20 @@ #include #include //function for trigonometric -//Function 1 +//Function 1 double double* calculate_sin_double(double angle) { double* result= malloc(sizeof (double)); *result=sin(angle); return result; } -//Function 2 +//Function 2 double double* calculate_cos_double(double angle) { double* result= malloc(sizeof (double)); *result=cos(angle); return result; } -//Function 3 +//Function 3 double double* calculate_tan_double(double angle) { double* result= malloc(sizeof (double));