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

Function increment_next

test/topk.cpp:55–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53
54template<typename T>
55void increment_next(T& val,
56 typename std::enable_if<std::is_floating_point<T>::value,
57 int>::type t = 0) {
58 val = std::nextafterf(val, std::numeric_limits<T>::max());
59}
60
61template<typename T>
62void increment_next(

Callers 1

topkTestFunction · 0.85

Calls 2

nextafterFunction · 0.85
maxFunction · 0.70

Tested by

no test coverage detected