コード例 #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
ファイル: UInt32.cs プロジェクト: pedrobsaila/runtime
 /// <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);