Use exp10 instead of pow and create alias for win/mac for compat

This commit is contained in:
Vesa
2014-11-17 18:43:03 +02:00
parent e16b567e09
commit 01997fe546
2 changed files with 8 additions and 2 deletions

View File

@@ -47,6 +47,12 @@ using namespace std;
#ifndef _isinff
#define _isinff(x) isinf(x)
#endif
#ifndef exp10
#define exp10(x) pow( 10, x )
#endif
#ifndef exp10f
#define exp10f(x) powf( 10, x )
#endif
#endif
#ifdef __INTEL_COMPILER