Use exp10 instead of pow and create alias for win/mac for compat
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user