dev/c/cmake_lib/libmean/mean.c

10 lines
140 B
C
Raw Normal View History

#if defined (__BORLANDC__)
#define __DLL_MEAN__
#endif
#include "mean.h"
2012-05-22 13:53:04 +04:00
double DLL_SPEC mean(double a, double b) {
2012-05-22 13:53:04 +04:00
return (a+b) / 2;
}