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

Function makeReference

tests/casts.cpp:436–440  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

434};
435
436template<typename V1, typename V2> V2 makeReference(V2 reference)
437{
438 reference.setZero(V2::IndexesFromZero() >= V1::Size);
439 return reference;
440}
441
442template<typename V1, typename V2> void testNumber(double n)
443{

Callers

nothing calls this directly

Calls 2

setZeroMethod · 0.80
IndexesFromZeroFunction · 0.50

Tested by

no test coverage detected