| 1 | #ifndef LIBCXX_MATH_H |
|---|---|
| 2 | #define LIBCXX_MATH_H |
| 3 | |
| 4 | #include_next <math.h> |
| 5 | template<typename T> T abs(T t) { return (t < 0) ? -t : t; } |
| 6 | |
| 7 | #include <type_traits> |
| 8 | |
| 9 | #endif |
| 10 |
| 1 | #ifndef LIBCXX_MATH_H |
|---|---|
| 2 | #define LIBCXX_MATH_H |
| 3 | |
| 4 | #include_next <math.h> |
| 5 | template<typename T> T abs(T t) { return (t < 0) ? -t : t; } |
| 6 | |
| 7 | #include <type_traits> |
| 8 | |
| 9 | #endif |
| 10 |