summaryrefslogtreecommitdiff
path: root/src/mathc99.h
blob: ae31a22730ce3f4d9326d01a1cd4ef530fb22b94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef MATHC99_H_
#define MATHC99_H_

#ifdef WIN32

#include <cmath>
//for native win32 builds we need to provide C99 math functions by ourselves
double trunc(double a);
double round(double a);
float fmin(float a, float b);
float fmax(float a, float b);

#else

#include <math.h>

#endif

#endif
contact: Jan Huwald // Impressum