aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libf2c/r_cos.c
blob: 4418f0c1bbf3aa65640f1db06b877607017f4f86 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "f2c.h"

#ifdef KR_headers
double cos();
double r_cos(x) real *x;
#else
#undef abs
#include "math.h"
#ifdef __cplusplus
extern "C" {
#endif
double r_cos(real *x)
#endif
{
return( cos(*x) );
}
#ifdef __cplusplus
}
#endif