cantera/ext/f2c_libs/r_cos.c
2012-02-03 23:41:00 +00:00

19 lines
229 B
C

#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