From 14fc3be8d95da244daa1fa12d519ceee8fb97eae Mon Sep 17 00:00:00 2001 From: Brijeshcr Date: Tue, 8 Aug 2017 18:55:55 +0530 Subject: Added Sind and Tand --- src/c/elementaryFunctions/sind/dsinds.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/c/elementaryFunctions/sind/dsinds.c (limited to 'src/c/elementaryFunctions/sind/dsinds.c') diff --git a/src/c/elementaryFunctions/sind/dsinds.c b/src/c/elementaryFunctions/sind/dsinds.c new file mode 100644 index 00000000..f7dc54f1 --- /dev/null +++ b/src/c/elementaryFunctions/sind/dsinds.c @@ -0,0 +1,18 @@ +/* Copyright (C) 2016 - IIT Bombay - FOSSEE + + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + Author: Brijesh Gupta C R + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in +*/ +#include +#include "sind.h" +#define PI 3.1415927 + +double dsinds(double x) { + return sin(x*PI/180); +} -- cgit