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