| 1 | #include <cmath> |
| 2 | |
| 3 | //! Workaround for compatibility with other libraries |
| 4 | #ifdef max |
| 5 | #undef max |
| 6 | #endif |
| 7 | |
| 8 | //! Workaround for compatibility with other libraries |
| 9 | #ifdef min |
| 10 | #undef min |
| 11 | #endif |
| 12 | |
| 13 | //! Workaround for Android |
| 14 | #ifdef isnan |
| 15 | #undef isnan |
| 16 | #endif |
| 17 | |
| 18 | //! Workaround for Android |
| 19 | #ifdef isinf |
| 20 | #undef isinf |
| 21 | #endif |
| 22 | |
| 23 | //! Workaround for Chrone Native Client |
| 24 | #ifdef log2 |
| 25 | #undef log2 |
| 26 | #endif |
| 27 |