Beispiel #1
0
 static int IBinaryInteger <int> .PopCount(int value)
 => BitOperations.PopCount((uint)value);
Beispiel #2
0
 /// <inheritdoc cref="IBinaryInteger{TSelf}.PopCount(TSelf)" />
 public static long PopCount(long value) => BitOperations.PopCount((ulong)value);
Beispiel #3
0
 static uint IBinaryInteger <uint> .PopCount(uint value)
 => (uint)BitOperations.PopCount(value);
Beispiel #4
0
 static ushort IBinaryInteger <ushort> .PopCount(ushort value)
 => (ushort)BitOperations.PopCount(value);
Beispiel #5
0
 /// <inheritdoc cref="IBinaryInteger{TSelf}.PopCount(TSelf)" />
 public static uint PopCount(uint value) => (uint)BitOperations.PopCount(value);
Beispiel #6
0
 /// <inheritdoc cref="IBinaryInteger{TSelf}.PopCount(TSelf)" />
 public static byte PopCount(byte value) => (byte)BitOperations.PopCount(value);
Beispiel #7
0
 static byte IBinaryInteger <byte> .PopCount(byte value)
 => (byte)BitOperations.PopCount(value);
Beispiel #8
0
 /// <inheritdoc cref="IBinaryInteger{TSelf}.PopCount(TSelf)" />
 public static int PopCount(int value) => BitOperations.PopCount((uint)value);
Beispiel #9
0
 /// <inheritdoc cref="IBinaryInteger{TSelf}.PopCount(TSelf)" />
 public static sbyte PopCount(sbyte value) => (sbyte)BitOperations.PopCount((byte)value);
Beispiel #10
0
 static ulong IBinaryInteger <ulong> .PopCount(ulong value)
 => (ulong)BitOperations.PopCount(value);
Beispiel #11
0
 /// <inheritdoc cref="IBinaryInteger{TSelf}.PopCount(TSelf)" />
 public static short PopCount(short value) => (short)BitOperations.PopCount((ushort)value);
Beispiel #12
0
 static long IBinaryInteger <long> .PopCount(long value)
 => BitOperations.PopCount((ulong)value);
Beispiel #13
0
 /// <inheritdoc cref="IBinaryInteger{TSelf}.PopCount(TSelf)" />
 public static ulong PopCount(ulong value) => (ulong)BitOperations.PopCount(value);
Beispiel #14
0
 static sbyte IBinaryInteger <sbyte> .PopCount(sbyte value)
 => (sbyte)BitOperations.PopCount((byte)value);
Beispiel #15
0
 static short IBinaryInteger <short> .PopCount(short value)
 => (short)BitOperations.PopCount((ushort)value);
Beispiel #16
0
 /// <inheritdoc cref="IBinaryInteger{TSelf}.PopCount(TSelf)" />
 public static ushort PopCount(ushort value) => (ushort)BitOperations.PopCount(value);