Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
pcg_detail::dxsm_mixin< xtype, itype > Struct Template Reference

Public Member Functions

xtype output (itype internal)

Member Function Documentation

◆ output()

template<typename xtype, typename itype>
xtype pcg_detail::dxsm_mixin< xtype, itype >::output ( itype internal)
inline
96427 {
96428 constexpr bitcount_t xtypebits = bitcount_t(sizeof(xtype) * 8);
96429 constexpr bitcount_t itypebits = bitcount_t(sizeof(itype) * 8);
96430 static_assert(xtypebits <= itypebits/2,
96431 "Output type must be half the size of the state type.");
96432
96435
96436 lo |= 1;
96437 hi ^= hi >> (xtypebits/2);
96439 hi ^= hi >> (3*(xtypebits/4));
96440 hi *= lo;
96441 return hi;
96442 }
Definition duckdb.cpp:96425

The documentation for this struct was generated from the following file: