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

float		scosds(float in) 
{
	if(cosf((M_PI/180.0)*in)==0.0)
		return 0.0;
	else
		return (cosf((M_PI/180.0)*in));
}