예제 #1
0
파일: Int32.cs 프로젝트: mateoatr/runtime
 static int IBinaryInteger <int> .PopCount(int value)
 => BitOperations.PopCount((uint)value);
예제 #2
0
 /// <inheritdoc cref="IBinaryInteger{TSelf}.PopCount(TSelf)" />
 public static long PopCount(long value) => BitOperations.PopCount((ulong)value);
예제 #3
0
 static uint IBinaryInteger <uint> .PopCount(uint value)
 => (uint)BitOperations.PopCount(value);
예제 #4
0
 static ushort IBinaryInteger <ushort> .PopCount(ushort value)
 => (ushort)BitOperations.PopCount(value);
예제 #5
0
 /// <inheritdoc cref="IBinaryInteger{TSelf}.PopCount(TSelf)" />
 public static uint PopCount(uint value) => (uint)BitOperations.PopCount(value);
예제 #6
0
파일: Byte.cs 프로젝트: vitek-karas/runtime
 /// <inheritdoc cref="IBinaryInteger{TSelf}.PopCount(TSelf)" />
 public static byte PopCount(byte value) => (byte)BitOperations.PopCount(value);
예제 #7
0
 static byte IBinaryInteger <byte> .PopCount(byte value)
 => (byte)BitOperations.PopCount(value);
예제 #8
0
파일: Int32.cs 프로젝트: Maximys/runtime
 /// <inheritdoc cref="IBinaryInteger{TSelf}.PopCount(TSelf)" />
 public static int PopCount(int value) => BitOperations.PopCount((uint)value);
예제 #9
0
 /// <inheritdoc cref="IBinaryInteger{TSelf}.PopCount(TSelf)" />
 public static sbyte PopCount(sbyte value) => (sbyte)BitOperations.PopCount((byte)value);
예제 #10
0
 static ulong IBinaryInteger <ulong> .PopCount(ulong value)
 => (ulong)BitOperations.PopCount(value);
예제 #11
0
 /// <inheritdoc cref="IBinaryInteger{TSelf}.PopCount(TSelf)" />
 public static short PopCount(short value) => (short)BitOperations.PopCount((ushort)value);
예제 #12
0
파일: Int64.cs 프로젝트: PRIMETSS/runtime
 static long IBinaryInteger <long> .PopCount(long value)
 => BitOperations.PopCount((ulong)value);
예제 #13
0
 /// <inheritdoc cref="IBinaryInteger{TSelf}.PopCount(TSelf)" />
 public static ulong PopCount(ulong value) => (ulong)BitOperations.PopCount(value);
예제 #14
0
 static sbyte IBinaryInteger <sbyte> .PopCount(sbyte value)
 => (sbyte)BitOperations.PopCount((byte)value);
예제 #15
0
 static short IBinaryInteger <short> .PopCount(short value)
 => (short)BitOperations.PopCount((ushort)value);
예제 #16
0
 /// <inheritdoc cref="IBinaryInteger{TSelf}.PopCount(TSelf)" />
 public static ushort PopCount(ushort value) => (ushort)BitOperations.PopCount(value);