2022-08-02 00:07:37 +00:00
|
|
|
#include <cmath>
|
|
|
|
|
|
|
|
//! Workaround for compatibility with other libraries
|
|
|
|
#ifdef max
|
|
|
|
#undef max
|
|
|
|
#endif
|
|
|
|
|
|
|
|
//! Workaround for compatibility with other libraries
|
|
|
|
#ifdef min
|
|
|
|
#undef min
|
|
|
|
#endif
|
|
|
|
|
|
|
|
//! Workaround for Android
|
|
|
|
#ifdef isnan
|
|
|
|
#undef isnan
|
|
|
|
#endif
|
|
|
|
|
|
|
|
//! Workaround for Android
|
|
|
|
#ifdef isinf
|
|
|
|
#undef isinf
|
|
|
|
#endif
|
|
|
|
|
|
|
|
//! Workaround for Chrone Native Client
|
|
|
|
#ifdef log2
|
|
|
|
#undef log2
|
|
|
|
#endif
|
|
|
|
|