Bitwise Functions

Functions

template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_int
< scalar< S > >::value, scalar
< S > >::type 
arbb::operator~ (const scalar< S > &value)
 Returns the bitwise complement of value.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_int
< scalar< S > >::value, scalar
< S > >::type 
arbb::operator& (const scalar< S > &value, const scalar< S > &mask)
 Returns the bitwise and of value and mask.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_int
< scalar< S > >::value, scalar
< S > >::type 
arbb::operator& (const scalar< S > &value, const typename uncaptured< scalar< S > >::type &mask)
 Returns the bitwise and of value and mask.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_int
< scalar< S > >::value, scalar
< S > >::type 
arbb::operator& (const typename uncaptured< scalar< S > >::type &value, const scalar< S > &mask)
 Returns the bitwise and of value and mask.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_int
< scalar< S > >::value, scalar
< S > & >::type 
arbb::operator&= (scalar< S > &value, const scalar< S > &mask)
 Modifies value by computing its bitwise and with mask, and return the modified value.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_int
< scalar< S > >::value, scalar
< S > & >::type 
arbb::operator&= (scalar< S > &value, const typename uncaptured< scalar< S > >::type &mask)
 Modifies value by computing its bitwise and with mask, and return the modified value.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_int
< scalar< S > >::value, scalar
< S > & >::type 
arbb::operator&= (typename uncaptured< scalar< S > >::type &value, const scalar< S > &mask)
 Modifies value by computing its bitwise and with mask, and return the modified value.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_int
< scalar< S > >::value, scalar
< S > >::type 
arbb::operator| (const scalar< S > &value, const scalar< S > &mask)
 Returns the bitwise or of value and mask.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_int
< scalar< S > >::value, scalar
< S > >::type 
arbb::operator| (const scalar< S > &value, const typename uncaptured< scalar< S > >::type &mask)
 Returns the bitwise or of value and mask.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_int
< scalar< S > >::value, scalar
< S > >::type 
arbb::operator| (const typename uncaptured< scalar< S > >::type &value, const scalar< S > &mask)
 Returns the bitwise or of value and mask.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_int
< scalar< S > >::value, scalar
< S > & >::type 
arbb::operator|= (scalar< S > &value, const scalar< S > &mask)
 Modifies value by computing its bitwise or with mask and returns the modified value.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_int
< scalar< S > >::value, scalar
< S > & >::type 
arbb::operator|= (scalar< S > &value, const typename uncaptured< scalar< S > >::type &mask)
 Modifies value by computing its bitwise or with mask and returns the modified value.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_int
< scalar< S > >::value, scalar
< S > & >::type 
arbb::operator|= (typename uncaptured< scalar< S > >::type &value, const scalar< S > &mask)
 Modifies value by computing its bitwise or with mask and returns the modified value.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_int
< scalar< S > >::value, scalar
< S > >::type 
arbb::operator<< (const scalar< S > &value, const scalar< S > &shift_amount)
 Returns value shifted left by shift_amount bits.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_int
< scalar< S > >::value, scalar
< S > >::type 
arbb::operator<< (const scalar< S > &value, const typename uncaptured< scalar< S > >::type &shift_amount)
 Returns value shifted left by shift_amount bits.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_int
< scalar< S > >::value, scalar
< S > >::type 
arbb::operator<< (const typename uncaptured< scalar< S > >::type &value, const scalar< S > &shift_amount)
 Returns value shifted left by shift_amount bits.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_int
< scalar< S > >::value, scalar
< S > & >::type 
arbb::operator<<= (scalar< S > &value, const scalar< S > &shift_amount)
 Modifies value by shifting it left by shift_amount bits and returns the modified value.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_int
< scalar< S > >::value, scalar
< S > & >::type 
arbb::operator<<= (scalar< S > &value, const typename uncaptured< scalar< S > >::type &shift_amount)
 Modifies value by shifting it left by shift_amount bits and returns the modified value.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_int
< scalar< S > >::value, scalar
< S > & >::type 
arbb::operator<<= (typename uncaptured< scalar< S > >::type &value, const scalar< S > &shift_amount)
 Modifies value by shifting it left by shift_amount bits and returns the modified value.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_int
< scalar< S > >::value, scalar
< S > >::type 
arbb::operator>> (const scalar< S > &value, const scalar< S > &shift_amount)
 Returns value shifted right by shift_amount bits.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_int
< scalar< S > >::value, scalar
< S > >::type 
arbb::operator>> (const scalar< S > &value, const typename uncaptured< scalar< S > >::type &shift_amount)
 Returns value shifted right by shift_amount bits.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_int
< scalar< S > >::value, scalar
< S > >::type 
arbb::operator>> (const typename uncaptured< scalar< S > >::type &value, const scalar< S > &shift_amount)
 Returns value shifted right by shift_amount bits.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_int
< scalar< S > >::value, scalar
< S > & >::type 
arbb::operator>>= (scalar< S > &value, const scalar< S > &shift_amount)
 Modifies value by shifting it right by shift_amount bits and returns the modified value.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_int
< scalar< S > >::value, scalar
< S > & >::type 
arbb::operator>>= (scalar< S > &value, const typename uncaptured< scalar< S > >::type &shift_amount)
 Modifies value by shifting it right by shift_amount bits and returns the modified value.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_int
< scalar< S > >::value, scalar
< S > & >::type 
arbb::operator>>= (typename uncaptured< scalar< S > >::type &value, const scalar< S > &shift_amount)
 Modifies value by shifting it right by shift_amount bits and returns the modified value.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_int
< scalar< S > >::value, scalar
< S > >::type 
arbb::operator^ (const scalar< S > &value, const scalar< S > &mask)
 Returns the bitwise xor of value and mask.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_int
< scalar< S > >::value, scalar
< S > >::type 
arbb::operator^ (const scalar< S > &value, const typename uncaptured< scalar< S > >::type &mask)
 Returns the bitwise xor of value and mask.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_int
< scalar< S > >::value, scalar
< S > >::type 
arbb::operator^ (const typename uncaptured< scalar< S > >::type &value, const scalar< S > &mask)
 Returns the bitwise xor of value and mask.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_int
< scalar< S > >::value, scalar
< S > & >::type 
arbb::operator^= (scalar< S > &value, const scalar< S > &mask)
 Modifies value by computing its bitwise xor with mask and returns the modified value.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_int
< scalar< S > >::value, scalar
< S > & >::type 
arbb::operator^= (scalar< S > &value, const typename uncaptured< scalar< S > >::type &mask)
 Modifies value by computing its bitwise xor with mask and returns the modified value.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_int
< scalar< S > >::value, scalar
< S > & >::type 
arbb::operator^= (typename uncaptured< scalar< S > >::type &value, const scalar< S > &mask)
 Modifies value by computing its bitwise xor with mask and returns the modified value.
template<typename T , arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar< T >
::value, T >::type 
arbb::bitwise_cast (const scalar< S > &value)
 Returns a value that has the same bit pattern as value.

Function Documentation

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_int< scalar<S> >::value, scalar<S> >::type arbb::operator~ ( const scalar< S > &  value  )  [inline]

Returns the bitwise complement of value.

This function only applies to scalars of integral type (arbb::i8, arbb::i16, arbb::i32, arbb::i64, arbb::u8, arbb::u16, arbb::u32, arbb::u64).

Parameters:

value The integral value whose bitwise complement is returned.

Definition at line 764 of file scalar_funcs.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_int< scalar<S> >::value, scalar<S> >::type arbb::operator& ( const scalar< S > &  value,
const scalar< S > &  mask 
) [inline]

Returns the bitwise and of value and mask.

This function only applies to scalars of integral type (arbb::i8, arbb::i16, arbb::i32, arbb::i64, arbb::u8, arbb::u16, arbb::u32, arbb::u64).

Parameters:

value The value to be masked.
mask The mask to be applied to the value using an and.

Definition at line 978 of file scalar_funcs.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_int< scalar<S> >::value, scalar<S> >::type arbb::operator& ( const scalar< S > &  value,
const typename uncaptured< scalar< S > >::type &  mask 
) [inline]

Returns the bitwise and of value and mask.

This function only applies to scalars of integral type (arbb::i8, arbb::i16, arbb::i32, arbb::i64, arbb::u8, arbb::u16, arbb::u32, arbb::u64).

Parameters:

value The value to be masked.
mask The mask to be applied to the value using an and.

Definition at line 1005 of file scalar_funcs.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_int< scalar<S> >::value, scalar<S> >::type arbb::operator& ( const typename uncaptured< scalar< S > >::type &  value,
const scalar< S > &  mask 
) [inline]

Returns the bitwise and of value and mask.

This function only applies to scalars of integral type (arbb::i8, arbb::i16, arbb::i32, arbb::i64, arbb::u8, arbb::u16, arbb::u32, arbb::u64).

Parameters:

value The value to be masked.
mask The mask to be applied to the value using an and.

Definition at line 1033 of file scalar_funcs.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_int< scalar<S> >::value, scalar<S>& >::type arbb::operator&= ( scalar< S > &  value,
const scalar< S > &  mask 
) [inline]

Modifies value by computing its bitwise and with mask, and return the modified value.

This function only applies to scalars of integral type (arbb::i8, arbb::i16, arbb::i32, arbb::i64, arbb::u8, arbb::u16, arbb::u32, arbb::u64).

Parameters:

value The value to be masked.
mask The mask to be applied to the value using an and.

Definition at line 1062 of file scalar_funcs.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_int< scalar<S> >::value, scalar<S>& >::type arbb::operator&= ( scalar< S > &  value,
const typename uncaptured< scalar< S > >::type &  mask 
) [inline]

Modifies value by computing its bitwise and with mask, and return the modified value.

This function only applies to scalars of integral type (arbb::i8, arbb::i16, arbb::i32, arbb::i64, arbb::u8, arbb::u16, arbb::u32, arbb::u64).

Parameters:

value The value to be masked.
mask The mask to be applied to the value using an and.

Definition at line 1088 of file scalar_funcs.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_int< scalar<S> >::value, scalar<S>& >::type arbb::operator&= ( typename uncaptured< scalar< S > >::type &  value,
const scalar< S > &  mask 
) [inline]

Modifies value by computing its bitwise and with mask, and return the modified value.

This function only applies to scalars of integral type (arbb::i8, arbb::i16, arbb::i32, arbb::i64, arbb::u8, arbb::u16, arbb::u32, arbb::u64).

Parameters:

value The value to be masked.
mask The mask to be applied to the value using an and.

Definition at line 1115 of file scalar_funcs.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_int< scalar<S> >::value, scalar<S> >::type arbb::operator| ( const scalar< S > &  value,
const scalar< S > &  mask 
) [inline]

Returns the bitwise or of value and mask.

This function only applies to scalars of integral type (arbb::i8, arbb::i16, arbb::i32, arbb::i64, arbb::u8, arbb::u16, arbb::u32, arbb::u64).

Parameters:

value The value to be masked.
mask The mask to be applied to the value using an or.

Definition at line 1776 of file scalar_funcs.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_int< scalar<S> >::value, scalar<S> >::type arbb::operator| ( const scalar< S > &  value,
const typename uncaptured< scalar< S > >::type &  mask 
) [inline]

Returns the bitwise or of value and mask.

This function only applies to scalars of integral type (arbb::i8, arbb::i16, arbb::i32, arbb::i64, arbb::u8, arbb::u16, arbb::u32, arbb::u64).

Parameters:

value The value to be masked.
mask The mask to be applied to the value using an or.

Definition at line 1803 of file scalar_funcs.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_int< scalar<S> >::value, scalar<S> >::type arbb::operator| ( const typename uncaptured< scalar< S > >::type &  value,
const scalar< S > &  mask 
) [inline]

Returns the bitwise or of value and mask.

This function only applies to scalars of integral type (arbb::i8, arbb::i16, arbb::i32, arbb::i64, arbb::u8, arbb::u16, arbb::u32, arbb::u64).

Parameters:

value The value to be masked.
mask The mask to be applied to the value using an or.

Definition at line 1831 of file scalar_funcs.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_int< scalar<S> >::value, scalar<S>& >::type arbb::operator|= ( scalar< S > &  value,
const scalar< S > &  mask 
) [inline]

Modifies value by computing its bitwise or with mask and returns the modified value.

This function only applies to scalars of integral type (arbb::i8, arbb::i16, arbb::i32, arbb::i64, arbb::u8, arbb::u16, arbb::u32, arbb::u64).

Parameters:

value The value to be masked.
mask The mask to be applied to the value using an or.

Definition at line 1860 of file scalar_funcs.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_int< scalar<S> >::value, scalar<S>& >::type arbb::operator|= ( scalar< S > &  value,
const typename uncaptured< scalar< S > >::type &  mask 
) [inline]

Modifies value by computing its bitwise or with mask and returns the modified value.

This function only applies to scalars of integral type (arbb::i8, arbb::i16, arbb::i32, arbb::i64, arbb::u8, arbb::u16, arbb::u32, arbb::u64).

Parameters:

value The value to be masked.
mask The mask to be applied to the value using an or.

Definition at line 1886 of file scalar_funcs.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_int< scalar<S> >::value, scalar<S>& >::type arbb::operator|= ( typename uncaptured< scalar< S > >::type &  value,
const scalar< S > &  mask 
) [inline]

Modifies value by computing its bitwise or with mask and returns the modified value.

This function only applies to scalars of integral type (arbb::i8, arbb::i16, arbb::i32, arbb::i64, arbb::u8, arbb::u16, arbb::u32, arbb::u64).

Parameters:

value The value to be masked.
mask The mask to be applied to the value using an or.

Definition at line 1913 of file scalar_funcs.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_int< scalar<S> >::value, scalar<S> >::type arbb::operator<< ( const scalar< S > &  value,
const scalar< S > &  shift_amount 
) [inline]

Returns value shifted left by shift_amount bits.

This function only applies to scalars of integral type (arbb::i8, arbb::i16, arbb::i32, arbb::i64, arbb::u8, arbb::u16, arbb::u32, arbb::u64).

Parameters:

value The integer value to be shifted.
shift_amount The amount by which to shift the value.

Definition at line 2247 of file scalar_funcs.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_int< scalar<S> >::value, scalar<S> >::type arbb::operator<< ( const scalar< S > &  value,
const typename uncaptured< scalar< S > >::type &  shift_amount 
) [inline]

Returns value shifted left by shift_amount bits.

This function only applies to scalars of integral type (arbb::i8, arbb::i16, arbb::i32, arbb::i64, arbb::u8, arbb::u16, arbb::u32, arbb::u64).

Parameters:

value The integer value to be shifted.
shift_amount The amount by which to shift the value.

Definition at line 2270 of file scalar_funcs.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_int< scalar<S> >::value, scalar<S> >::type arbb::operator<< ( const typename uncaptured< scalar< S > >::type &  value,
const scalar< S > &  shift_amount 
) [inline]

Returns value shifted left by shift_amount bits.

This function only applies to scalars of integral type (arbb::i8, arbb::i16, arbb::i32, arbb::i64, arbb::u8, arbb::u16, arbb::u32, arbb::u64).

Parameters:

value The integer value to be shifted.
shift_amount The amount by which to shift the value.

Definition at line 2294 of file scalar_funcs.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_int< scalar<S> >::value, scalar<S>& >::type arbb::operator<<= ( scalar< S > &  value,
const scalar< S > &  shift_amount 
) [inline]

Modifies value by shifting it left by shift_amount bits and returns the modified value.

This function only applies to scalars of integral type (arbb::i8, arbb::i16, arbb::i32, arbb::i64, arbb::u8, arbb::u16, arbb::u32, arbb::u64).

Parameters:

value The integer value to be shifted.
shift_amount The amount by which to shift the value.

Definition at line 2319 of file scalar_funcs.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_int< scalar<S> >::value, scalar<S>& >::type arbb::operator<<= ( scalar< S > &  value,
const typename uncaptured< scalar< S > >::type &  shift_amount 
) [inline]

Modifies value by shifting it left by shift_amount bits and returns the modified value.

This function only applies to scalars of integral type (arbb::i8, arbb::i16, arbb::i32, arbb::i64, arbb::u8, arbb::u16, arbb::u32, arbb::u64).

Parameters:

value The integer value to be shifted.
shift_amount The amount by which to shift the value.

Definition at line 2341 of file scalar_funcs.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_int< scalar<S> >::value, scalar<S>& >::type arbb::operator<<= ( typename uncaptured< scalar< S > >::type &  value,
const scalar< S > &  shift_amount 
) [inline]

Modifies value by shifting it left by shift_amount bits and returns the modified value.

This function only applies to scalars of integral type (arbb::i8, arbb::i16, arbb::i32, arbb::i64, arbb::u8, arbb::u16, arbb::u32, arbb::u64).

Parameters:

value The integer value to be shifted.
shift_amount The amount by which to shift the value.

Definition at line 2364 of file scalar_funcs.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_int< scalar<S> >::value, scalar<S> >::type arbb::operator>> ( const scalar< S > &  value,
const scalar< S > &  shift_amount 
) [inline]

Returns value shifted right by shift_amount bits.

This function only applies to scalars of integral type (arbb::i8, arbb::i16, arbb::i32, arbb::i64, arbb::u8, arbb::u16, arbb::u32, arbb::u64).

Parameters:

value The integer value to be shifted.
shift_amount The amount by which to shift the value.

Definition at line 3027 of file scalar_funcs.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_int< scalar<S> >::value, scalar<S> >::type arbb::operator>> ( const scalar< S > &  value,
const typename uncaptured< scalar< S > >::type &  shift_amount 
) [inline]

Returns value shifted right by shift_amount bits.

This function only applies to scalars of integral type (arbb::i8, arbb::i16, arbb::i32, arbb::i64, arbb::u8, arbb::u16, arbb::u32, arbb::u64).

Parameters:

value The integer value to be shifted.
shift_amount The amount by which to shift the value.

Definition at line 3050 of file scalar_funcs.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_int< scalar<S> >::value, scalar<S> >::type arbb::operator>> ( const typename uncaptured< scalar< S > >::type &  value,
const scalar< S > &  shift_amount 
) [inline]

Returns value shifted right by shift_amount bits.

This function only applies to scalars of integral type (arbb::i8, arbb::i16, arbb::i32, arbb::i64, arbb::u8, arbb::u16, arbb::u32, arbb::u64).

Parameters:

value The integer value to be shifted.
shift_amount The amount by which to shift the value.

Definition at line 3074 of file scalar_funcs.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_int< scalar<S> >::value, scalar<S>& >::type arbb::operator>>= ( scalar< S > &  value,
const scalar< S > &  shift_amount 
) [inline]

Modifies value by shifting it right by shift_amount bits and returns the modified value.

This function only applies to scalars of integral type (arbb::i8, arbb::i16, arbb::i32, arbb::i64, arbb::u8, arbb::u16, arbb::u32, arbb::u64).

Parameters:

value The integer value to be shifted.
shift_amount The amount by which to shift the value.

Definition at line 3099 of file scalar_funcs.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_int< scalar<S> >::value, scalar<S>& >::type arbb::operator>>= ( scalar< S > &  value,
const typename uncaptured< scalar< S > >::type &  shift_amount 
) [inline]

Modifies value by shifting it right by shift_amount bits and returns the modified value.

This function only applies to scalars of integral type (arbb::i8, arbb::i16, arbb::i32, arbb::i64, arbb::u8, arbb::u16, arbb::u32, arbb::u64).

Parameters:

value The integer value to be shifted.
shift_amount The amount by which to shift the value.

Definition at line 3121 of file scalar_funcs.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_int< scalar<S> >::value, scalar<S>& >::type arbb::operator>>= ( typename uncaptured< scalar< S > >::type &  value,
const scalar< S > &  shift_amount 
) [inline]

Modifies value by shifting it right by shift_amount bits and returns the modified value.

This function only applies to scalars of integral type (arbb::i8, arbb::i16, arbb::i32, arbb::i64, arbb::u8, arbb::u16, arbb::u32, arbb::u64).

Parameters:

value The integer value to be shifted.
shift_amount The amount by which to shift the value.

Definition at line 3144 of file scalar_funcs.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_int< scalar<S> >::value, scalar<S> >::type arbb::operator^ ( const scalar< S > &  value,
const scalar< S > &  mask 
) [inline]

Returns the bitwise xor of value and mask.

This function only applies to scalars of integral type (arbb::i8, arbb::i16, arbb::i32, arbb::i64, arbb::u8, arbb::u16, arbb::u32, arbb::u64).

Parameters:

value The value to be masked.
mask The mask to be applied to the value using an xor.

Definition at line 3327 of file scalar_funcs.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_int< scalar<S> >::value, scalar<S> >::type arbb::operator^ ( const scalar< S > &  value,
const typename uncaptured< scalar< S > >::type &  mask 
) [inline]

Returns the bitwise xor of value and mask.

This function only applies to scalars of integral type (arbb::i8, arbb::i16, arbb::i32, arbb::i64, arbb::u8, arbb::u16, arbb::u32, arbb::u64).

Parameters:

value The value to be masked.
mask The mask to be applied to the value using an xor.

Definition at line 3354 of file scalar_funcs.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_int< scalar<S> >::value, scalar<S> >::type arbb::operator^ ( const typename uncaptured< scalar< S > >::type &  value,
const scalar< S > &  mask 
) [inline]

Returns the bitwise xor of value and mask.

This function only applies to scalars of integral type (arbb::i8, arbb::i16, arbb::i32, arbb::i64, arbb::u8, arbb::u16, arbb::u32, arbb::u64).

Parameters:

value The value to be masked.
mask The mask to be applied to the value using an xor.

Definition at line 3382 of file scalar_funcs.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_int< scalar<S> >::value, scalar<S>& >::type arbb::operator^= ( scalar< S > &  value,
const scalar< S > &  mask 
) [inline]

Modifies value by computing its bitwise xor with mask and returns the modified value.

This function only applies to scalars of integral type (arbb::i8, arbb::i16, arbb::i32, arbb::i64, arbb::u8, arbb::u16, arbb::u32, arbb::u64).

Parameters:

value The value to be masked.
mask The mask to be applied to the value using an xor.

Definition at line 3411 of file scalar_funcs.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_int< scalar<S> >::value, scalar<S>& >::type arbb::operator^= ( scalar< S > &  value,
const typename uncaptured< scalar< S > >::type &  mask 
) [inline]

Modifies value by computing its bitwise xor with mask and returns the modified value.

This function only applies to scalars of integral type (arbb::i8, arbb::i16, arbb::i32, arbb::i64, arbb::u8, arbb::u16, arbb::u32, arbb::u64).

Parameters:

value The value to be masked.
mask The mask to be applied to the value using an xor.

Definition at line 3437 of file scalar_funcs.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_int< scalar<S> >::value, scalar<S>& >::type arbb::operator^= ( typename uncaptured< scalar< S > >::type &  value,
const scalar< S > &  mask 
) [inline]

Modifies value by computing its bitwise xor with mask and returns the modified value.

This function only applies to scalars of integral type (arbb::i8, arbb::i16, arbb::i32, arbb::i64, arbb::u8, arbb::u16, arbb::u32, arbb::u64).

Parameters:

value The value to be masked.
mask The mask to be applied to the value using an xor.

Definition at line 3464 of file scalar_funcs.hpp.

template<typename T , arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar<T>::value, T >::type arbb::bitwise_cast ( const scalar< S > &  value  )  [inline]

Returns a value that has the same bit pattern as value.

Parameters:

value The value whose bit pattern is returned.

Definition at line 3788 of file scalar_funcs.hpp.

Submit feedback on this help topic

Copyright © 2010, Intel Corporation. All rights reserved.