Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
IBinaryInteger.cs
Go to the documentation of this file.
2
3namespace System;
4
5[RequiresPreviewFeatures("Generic Math is in preview.", Url = "https://aka.ms/dotnet-warnings/generic-math-preview")]
6public interface IBinaryInteger<TSelf> : IBinaryNumber<TSelf>, IBitwiseOperators<TSelf, TSelf, TSelf>, INumber<TSelf>, IAdditionOperators<TSelf, TSelf, TSelf>, IAdditiveIdentity<TSelf, TSelf>, IComparisonOperators<TSelf, TSelf>, IComparable, IComparable<TSelf>, IEqualityOperators<TSelf, TSelf>, IEquatable<TSelf>, IDecrementOperators<TSelf>, IDivisionOperators<TSelf, TSelf, TSelf>, IIncrementOperators<TSelf>, IModulusOperators<TSelf, TSelf, TSelf>, IMultiplicativeIdentity<TSelf, TSelf>, IMultiplyOperators<TSelf, TSelf, TSelf>, ISpanFormattable, IFormattable, ISpanParseable<TSelf>, IParseable<TSelf>, ISubtractionOperators<TSelf, TSelf, TSelf>, IUnaryNegationOperators<TSelf, TSelf>, IUnaryPlusOperators<TSelf, TSelf>, IShiftOperators<TSelf, TSelf> where TSelf : IBinaryInteger<TSelf>
7{
8 static abstract TSelf LeadingZeroCount(TSelf value);
9
10 static abstract TSelf PopCount(TSelf value);
11
12 static abstract TSelf RotateLeft(TSelf value, int rotateAmount);
13
14 static abstract TSelf RotateRight(TSelf value, int rotateAmount);
15
16 static abstract TSelf TrailingZeroCount(TSelf value);
17}
static TSelf RotateRight(TSelf value, int rotateAmount)
static TSelf LeadingZeroCount(TSelf value)
static TSelf PopCount(TSelf value)
static TSelf TrailingZeroCount(TSelf value)
static TSelf RotateLeft(TSelf value, int rotateAmount)