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

Function parithmetic_shift_right

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

Source from the content-addressed store, hash-verified

672
673/** \internal \returns \a a arithmetically shifted by N bits to the right */
674template<int N> EIGEN_DEVICE_FUNC inline int
675parithmetic_shift_right(const int& a) { return a >> N; }
676template<int N> EIGEN_DEVICE_FUNC inline long int
677parithmetic_shift_right(const long int& a) { return a >> N; }
678

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected