19 #include "detail/qualifier.hpp" 36 template<length_t L, qualifier Q>
38 vec<L, uint, Q>
const& x,
39 vec<L, uint, Q>
const& y,
40 vec<L, uint, Q> & carry);
50 template<length_t L, qualifier Q>
52 vec<L, uint, Q>
const& x,
53 vec<L, uint, Q>
const& y,
54 vec<L, uint, Q> & borrow);
64 template<length_t L, qualifier Q>
66 vec<L, uint, Q>
const& x,
67 vec<L, uint, Q>
const& y,
68 vec<L, uint, Q> & msb,
69 vec<L, uint, Q> & lsb);
79 template<length_t L, qualifier Q>
81 vec<L, int, Q>
const& x,
82 vec<L, int, Q>
const& y,
84 vec<L, int, Q> & lsb);
102 template<length_t L,
typename T, qualifier Q>
104 vec<L, T, Q>
const& Value,
123 template<length_t L,
typename T, qualifier Q>
125 vec<L, T, Q>
const& Base,
126 vec<L, T, Q>
const& Insert,
139 template<length_t L,
typename T, qualifier Q>
148 template<
typename genType>
149 GLM_FUNC_DECL
int bitCount(genType v);
158 template<length_t L,
typename T, qualifier Q>
159 GLM_FUNC_DECL vec<L, int, Q>
bitCount(vec<L, T, Q>
const& v);
169 template<
typename genIUType>
170 GLM_FUNC_DECL
int findLSB(genIUType x);
181 template<length_t L,
typename T, qualifier Q>
182 GLM_FUNC_DECL vec<L, int, Q>
findLSB(vec<L, T, Q>
const& v);
193 template<
typename genIUType>
194 GLM_FUNC_DECL
int findMSB(genIUType x);
206 template<length_t L,
typename T, qualifier Q>
207 GLM_FUNC_DECL vec<L, int, Q>
findMSB(vec<L, T, Q>
const& v);
212 #include "detail/func_integer.inl" Definition: core_func_integer.cpp:134
Core features
Definition: common.hpp:20
Definition: core_func_integer.cpp:1171
GLM_FUNC_QUALIFIER int findLSB(genIUType Value)
Returns the bit number of the least significant bit set to 1 in the binary representation of value...
Definition: func_integer.inl:336
GLM_FUNC_QUALIFIER int findMSB(genIUType v)
Returns the bit number of the most significant bit in the binary representation of value...
Definition: func_integer.inl:353
Definition: core_func_integer.cpp:25
Definition: core_func_integer.cpp:1361
Definition: core_func_integer.cpp:1231
Definition: core_func_integer.cpp:1121
Definition: core_func_integer.cpp:1296