mirror of
https://github.com/AxioDL/amuse.git
synced 2025-05-13 19:01:34 +00:00
19 lines
235 B
C++
19 lines
235 B
C++
#pragma once
|
|
|
|
/* Properly forward math defines to std:: */
|
|
#ifdef __SWITCH__
|
|
|
|
#include <cmath>
|
|
#include <cfloat>
|
|
|
|
#undef exp2
|
|
#undef log2
|
|
#undef fabs
|
|
|
|
namespace std {
|
|
using ::exp2;
|
|
using ::fabs;
|
|
using ::log2;
|
|
} // namespace std
|
|
#endif
|