Method OnesComplement
- Namespace
- Zyl.VectorTraits
- Assembly
- VectorTraits.dll
OnesComplement<T>(T)
Computes the ones-complement(~) (按位取反运算).
public static T OnesComplement<T>(T src) where T : struct
Parameters
src
TSource value (源值).
Returns
- T
The ones-complement value (按位取反后的值).
Type Parameters
T
Target type (目标类型).