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

Function psignbit

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

Source from the content-addressed store, hash-verified

1329/** \internal \returns the sign bit of \a a as a bitmask*/
1330template <typename Packet>
1331EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE constexpr Packet
1332psignbit(const Packet& a) { return psignbit_impl<Packet>::run(a); }
1333
1334/** \internal \returns the 2-argument arc tangent of \a y and \a x (coeff-wise) */
1335template <typename Packet, std::enable_if_t<is_scalar<Packet>::value, int> = 0>

Callers 1

patan2Function · 0.70

Calls 1

runFunction · 0.85

Tested by

no test coverage detected