MCPcopy Create free account
hub / github.com/TinyMPC/TinyMPC / pldexp

Function pldexp

include/Eigen/Eigen/src/Core/GenericPacketMath.h:706–710  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

704 * See https://en.cppreference.com/w/cpp/numeric/math/ldexp
705 */
706template<typename Packet> EIGEN_DEVICE_FUNC inline Packet
707pldexp(const Packet &a, const Packet &exponent) {
708 EIGEN_USING_STD(ldexp)
709 return static_cast<Packet>(ldexp(a, static_cast<int>(exponent)));
710}
711
712/** \internal \returns the min of \a a and \a b (coeff-wise) */
713template<typename Packet> EIGEN_DEVICE_FUNC inline Packet

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected