MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / minval

Function minval

src/backend/cuda/math.hpp:158–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157template<typename T>
158inline T minval() {
159 AF_IF_CONSTEXPR(std::is_floating_point<T>::value && !fast_math) {
160 return -std::numeric_limits<T>::infinity();
161 }
162 else { return std::numeric_limits<T>::lowest(); }
163}
164#else
165template<typename T>
166inline __device__ T maxval() {

Callers

nothing calls this directly

Calls 2

AF_IF_CONSTEXPRFunction · 0.85
infinityFunction · 0.85

Tested by

no test coverage detected