tlx
ctz.hpp File Reference

Go to the source code of this file.

Namespaces

 tlx
 

Functions

template<typename Integral >
static unsigned ctz_template (Integral x)
 ctz (count trailing zeros) - generic implementation More...
 
template<typename Integral >
unsigned ctz (Integral x)
 
template<>
unsigned ctz< int > (int i)
 ctz (count trailing zeros) More...
 
template<>
unsigned ctz< unsigned > (unsigned i)
 ctz (count trailing zeros) More...
 
template<>
unsigned ctz< long > (long i)
 ctz (count trailing zeros) More...
 
template<>
unsigned ctz< unsigned long > (unsigned long i)
 ctz (count trailing zeros) More...
 
template<>
unsigned ctz< long long > (long long i)
 ctz (count trailing zeros) More...
 
template<>
unsigned ctz< unsigned long long > (unsigned long long i)
 ctz (count trailing zeros) More...