MCPcopy Create free account
hub / github.com/Derious/cuMPC / REF_LDEXP

Function REF_LDEXP

dependence/eigen-3.4.0/test/packetmath.cpp:59–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57
58template <typename T>
59inline T REF_LDEXP(const T& x, const T& exp) {
60 EIGEN_USING_STD(ldexp)
61 return static_cast<T>(ldexp(x, static_cast<int>(exp)));
62}
63
64// Uses pcast to cast from one array to another.
65template <typename SrcPacket, typename TgtPacket, int SrcCoeffRatio, int TgtCoeffRatio>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected