func_integer.hpp
Go to the documentation of this file.
1 
38 #pragma once
39 
40 #include "setup.hpp"
41 
42 namespace glm
43 {
46 
55  template <typename genUType>
56  GLM_FUNC_DECL genUType uaddCarry(
57  genUType const & x,
58  genUType const & y,
59  genUType & carry);
60 
69  template <typename genUType>
70  GLM_FUNC_DECL genUType usubBorrow(
71  genUType const & x,
72  genUType const & y,
73  genUType & borrow);
74 
83  template <typename genUType>
85  genUType const & x,
86  genUType const & y,
87  genUType & msb,
88  genUType & lsb);
89 
98  template <typename genIType>
100  genIType const & x,
101  genIType const & y,
102  genIType & msb,
103  genIType & lsb);
104 
120  template <typename genIUType>
121  GLM_FUNC_DECL genIUType bitfieldExtract(
122  genIUType const & Value,
123  int const & Offset,
124  int const & Bits);
125 
140  template <typename genIUType>
141  GLM_FUNC_DECL genIUType bitfieldInsert(
142  genIUType const & Base,
143  genIUType const & Insert,
144  int const & Offset,
145  int const & Bits);
146 
155  template <typename genIUType>
156  GLM_FUNC_DECL genIUType bitfieldReverse(genIUType const & Value);
157 
166  template <typename T, template <typename> class genIUType>
167  GLM_FUNC_DECL typename genIUType<T>::signed_type bitCount(genIUType<T> const & Value);
168 
179  template <typename T, template <typename> class genIUType>
180  GLM_FUNC_DECL typename genIUType<T>::signed_type findLSB(genIUType<T> const & Value);
181 
193  template <typename T, template <typename> class genIUType>
194  GLM_FUNC_DECL typename genIUType<T>::signed_type findMSB(genIUType<T> const & Value);
195 
197 }//namespace glm
198 
199 #include "func_integer.inl"
glm::usubBorrow
GLM_FUNC_DECL genUType usubBorrow(genUType const &x, genUType const &y, genUType &borrow)
glm::bitCount
GLM_FUNC_DECL genIUType< T >::signed_type bitCount(genIUType< T > const &Value)
glm::umulExtended
GLM_FUNC_DECL void umulExtended(genUType const &x, genUType const &y, genUType &msb, genUType &lsb)
glm::imulExtended
GLM_FUNC_DECL void imulExtended(genIType const &x, genIType const &y, genIType &msb, genIType &lsb)
glm::findMSB
GLM_FUNC_DECL genIUType< T >::signed_type findMSB(genIUType< T > const &Value)
setup.hpp
Base
glm
Definition: _literals.hpp:31
glm::bitfieldReverse
GLM_FUNC_DECL genIUType bitfieldReverse(genIUType const &Value)
glm::bitfieldInsert
GLM_FUNC_DECL genIUType bitfieldInsert(genIUType const &Base, genIUType const &Insert, int const &Offset, int const &Bits)
glm::bitfieldExtract
GLM_FUNC_DECL genIUType bitfieldExtract(genIUType const &Value, int const &Offset, int const &Bits)
glm::uaddCarry
GLM_FUNC_DECL genUType uaddCarry(genUType const &x, genUType const &y, genUType &carry)
glm::findLSB
GLM_FUNC_DECL genIUType< T >::signed_type findLSB(genIUType< T > const &Value)
GLM_FUNC_DECL
#define GLM_FUNC_DECL
Definition: setup.hpp:728


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:10