Rosetta
Functions
ObjexxFCL::bit Namespace Reference

Functions

template<typename T >
T bit_not (T const &x)
 Bitwise Not. More...
 
template<typename T >
T bit_and (T const &x, T const &y)
 Bitwise And. More...
 
template<typename T >
T bit_or (T const &x, T const &y)
 Bitwise Inclusive Or. More...
 
template<typename T >
T bit_xor (T const &x, T const &y)
 Bitwise Exclusive Or. More...
 
template<typename T >
T bit_set (T const &x, T const &pos)
 Bit Value Set to 1. More...
 
template<typename T >
T bit_clr (T const &x, T const &pos)
 Bit Value Set to 0. More...
 
template<typename T >
bool bit_test (T const &x, T const &pos)
 Bit Value Test. More...
 

Function Documentation

◆ bit_and()

template<typename T >
T ObjexxFCL::bit::bit_and ( T const &  x,
T const &  y 
)
inline

Bitwise And.

References x, and predPRE::y.

◆ bit_clr()

template<typename T >
T ObjexxFCL::bit::bit_clr ( T const &  x,
T const &  pos 
)
inline

◆ bit_not()

template<typename T >
T ObjexxFCL::bit::bit_not ( T const &  x)
inline

Bitwise Not.

References x.

◆ bit_or()

template<typename T >
T ObjexxFCL::bit::bit_or ( T const &  x,
T const &  y 
)
inline

Bitwise Inclusive Or.

References x, and predPRE::y.

◆ bit_set()

template<typename T >
T ObjexxFCL::bit::bit_set ( T const &  x,
T const &  pos 
)
inline

◆ bit_test()

template<typename T >
bool ObjexxFCL::bit::bit_test ( T const &  x,
T const &  pos 
)
inline

◆ bit_xor()

template<typename T >
T ObjexxFCL::bit::bit_xor ( T const &  x,
T const &  y 
)
inline

Bitwise Exclusive Or.

References x, and predPRE::y.