| 124 | } |
| 125 | template<typename T> |
| 126 | inline T minval() { |
| 127 | if constexpr (std::is_floating_point_v<T> && !fast_math) { |
| 128 | return -std::numeric_limits<T>::infinity(); |
| 129 | } else { |
| 130 | return std::numeric_limits<T>::lowest(); |
| 131 | } |
| 132 | } |
| 133 | |
| 134 | static inline double real(cdouble in) { return in.s[0]; } |
| 135 | static inline float real(cfloat in) { return in.s[0]; } |
nothing calls this directly
no test coverage detected