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

Function REF_FREXP

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

Source from the content-addressed store, hash-verified

48
49template <typename T>
50inline T REF_FREXP(const T& x, T& exp) {
51 int iexp;
52 EIGEN_USING_STD(frexp)
53 const T out = static_cast<T>(frexp(x, &iexp));
54 exp = static_cast<T>(iexp);
55 return out;
56}
57
58template <typename T>
59inline T REF_LDEXP(const T& x, const T& exp) {

Callers 1

packetmath_realFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected