summaryrefslogtreecommitdiff
path: root/src/c/elementaryFunctions/Trigonometry/cosd/dcosds.c
blob: 4550757714b95fcea0125ccbe0ed0b1fbc560190 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <math.h>
#include "cos.h"
#include "cosd.h"

double	       dcosds(double in) 
{
	if(cos((M_PI/180.0)*in)==0.0)
		return 0.0;
	else
	        return (cos((M_PI/180.0)*in));
}