MCPcopy Create free account
hub / github.com/VcDevel/Vc / positiveRandom

Function positiveRandom

tests/subscript.cpp:61–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59
60template <typename V>
61static typename std::enable_if<Vc::is_unsigned<V>::value, V>::type positiveRandom()
62{
63 return V::Random();
64}
65template <typename V>
66static typename std::enable_if<!Vc::is_unsigned<V>::value, V>::type positiveRandom()
67{

Callers

nothing calls this directly

Calls 1

absFunction · 0.85

Tested by

no test coverage detected