10 #ifndef DXLE_INC_MATH_FABS_HPP_ 11 #define DXLE_INC_MATH_FABS_HPP_ 16 #ifdef DXLE_NO_CXX11_CONSTEXPR 23 #else //DXLE_NO_CXX11_CONSTEXPR 26 template<typename FloatType, enable_if_t<std::is_floating_point<FloatType>::value, std::nullptr_t> =
nullptr>
31 : x == 0 ? FloatType(0)
35 template<typename IntType, enable_if_t<std::is_integral<IntType>::value, std::nullptr_t> =
nullptr>
44 #endif //DXLE_NO_CXX11_CONSTEXPR 45 #endif //DXLE_INC_MATH_FABS_HPP_
DXLE_CONSTEXPR FloatType copysign(FloatType x, FloatType y) DXLE_NOEXCEPT_OR_NOTHROW
DXLE_CONSTEXPR double fabs(IntType x) DXLE_NOEXCEPT_OR_NOTHROW
DXLE_CONSTEXPR bool isnan(FloatType x) DXLE_NOEXCEPT_OR_NOTHROW
DXLE_CONSTEXPR FloatType fabs(FloatType x) DXLE_NOEXCEPT_OR_NOTHROW
#define DXLE_NOEXCEPT_OR_NOTHROW