amuse/include/switch_math.hpp

21 lines
231 B
C++
Raw Normal View History

2018-10-07 03:40:25 +00:00
#pragma once
2018-09-25 22:39:22 +00:00
/* Properly forward math defines to std:: */
#ifdef __SWITCH__
#include <cmath>
#include <cfloat>
#undef exp2
#undef log2
#undef fabs
namespace std
{
using ::exp2;
using ::log2;
using ::fabs;
}
#endif