| 149 | |
| 150 | template<typename T> |
| 151 | inline T maxval() { |
| 152 | AF_IF_CONSTEXPR(std::is_floating_point<T>::value && !fast_math) { |
| 153 | return std::numeric_limits<T>::infinity(); |
| 154 | } |
| 155 | else { return std::numeric_limits<T>::max(); } |
| 156 | } |
| 157 | template<typename T> |
| 158 | inline T minval() { |
| 159 | AF_IF_CONSTEXPR(std::is_floating_point<T>::value && !fast_math) { |
nothing calls this directly
no test coverage detected