diff options
author | justanothercatgirl <sotov2070@gmail.com> | 2024-09-05 11:49:07 +0300 |
---|---|---|
committer | justanothercatgirl <sotov2070@gmail.com> | 2024-09-05 11:49:07 +0300 |
commit | bd2943ca42013a089975893eb84e1e48cec6a03b (patch) | |
tree | fdd475a34216478cba340b36680e149df8f97097 /libs/libsin.c | |
parent | 3bb7e487d762fcdc9e9216b85c869fc5668f5bea (diff) |
Diffstat (limited to 'libs/libsin.c')
-rw-r--r-- | libs/libsin.c | 7 |
1 files changed, 7 insertions, 0 deletions
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 <math.h> + +// calculate sine +double f(double x) { + return sin(x); +} |