diff options
author | Brijeshcr | 2017-08-08 18:55:55 +0530 |
---|---|---|
committer | Brijeshcr | 2017-08-08 18:55:55 +0530 |
commit | 60dc24077bf42ddf1b8973915350dfabdf5b040a (patch) | |
tree | 686fbd12c59335059a1c9cd5136428ba6e3f6126 /2.3-1/src/c/elementaryFunctions/tand/stands.c | |
parent | 3633223e4816948c61e107f4fb18eb193c0add27 (diff) | |
download | Scilab2C-60dc24077bf42ddf1b8973915350dfabdf5b040a.tar.gz Scilab2C-60dc24077bf42ddf1b8973915350dfabdf5b040a.tar.bz2 Scilab2C-60dc24077bf42ddf1b8973915350dfabdf5b040a.zip |
Added Sind and Tand
Diffstat (limited to '2.3-1/src/c/elementaryFunctions/tand/stands.c')
-rw-r--r-- | 2.3-1/src/c/elementaryFunctions/tand/stands.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/2.3-1/src/c/elementaryFunctions/tand/stands.c b/2.3-1/src/c/elementaryFunctions/tand/stands.c new file mode 100644 index 00000000..4d667015 --- /dev/null +++ b/2.3-1/src/c/elementaryFunctions/tand/stands.c @@ -0,0 +1,19 @@ +/* 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 <math.h> +#include "tand.h" +#include "tan.h" +#define PI 3.1415927 + +float stands(float x) { + return stans(x*PI/180); +} |