From bd2943ca42013a089975893eb84e1e48cec6a03b Mon Sep 17 00:00:00 2001 From: justanothercatgirl Date: Thu, 5 Sep 2024 11:49:07 +0300 Subject: Initial commit --- libs/libsin.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 libs/libsin.c (limited to 'libs/libsin.c') diff --git a/libs/libsin.c b/libs/libsin.c new file mode 100644 index 0000000..34200af --- /dev/null +++ b/libs/libsin.c @@ -0,0 +1,7 @@ + +#include + +// calculate sine +double f(double x) { + return sin(x); +} -- cgit v1.2.3-70-g09d2