Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
IBinaryNumber.cs
Go to the documentation of this file.
1
using
System.Runtime.Versioning
;
2
3
namespace
System
;
4
5
[RequiresPreviewFeatures(
"Generic Math is in preview."
, Url =
"https://aka.ms/dotnet-warnings/generic-math-preview"
)]
6
public
interface
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> where TSelf :
IBinaryNumber
<TSelf>
7
{
8
static
abstract
bool
IsPow2
(TSelf
value
);
9
10
static
abstract
TSelf
Log2
(TSelf
value
);
11
}
System.IAdditionOperators
Definition
IAdditionOperators.cs:7
System.IAdditiveIdentity
Definition
IAdditiveIdentity.cs:7
System.IBinaryNumber.IsPow2
static bool IsPow2(TSelf value)
System.IBinaryNumber.Log2
static TSelf Log2(TSelf value)
System.IBinaryNumber
Definition
IBinaryNumber.cs:7
System.IBitwiseOperators
Definition
IBitwiseOperators.cs:7
System.IComparable
Definition
IComparable.cs:8
System.IComparisonOperators
Definition
IComparisonOperators.cs:7
System.IDecrementOperators
Definition
IDecrementOperators.cs:7
System.IDivisionOperators
Definition
IDivisionOperators.cs:7
System.IEqualityOperators
Definition
IEqualityOperators.cs:7
System.IEquatable
Definition
IEquatable.cs:4
System.IFormattable
Definition
IFormattable.cs:4
System.IIncrementOperators
Definition
IIncrementOperators.cs:7
System.IModulusOperators
Definition
IModulusOperators.cs:7
System.IMultiplicativeIdentity
Definition
IMultiplicativeIdentity.cs:7
System.IMultiplyOperators
Definition
IMultiplyOperators.cs:7
System.INumber
Definition
INumber.cs:9
System.IParseable
Definition
IParseable.cs:8
System.ISpanFormattable
Definition
ISpanFormattable.cs:4
System.ISpanParseable
Definition
ISpanParseable.cs:7
System.ISubtractionOperators
Definition
ISubtractionOperators.cs:7
System.IUnaryNegationOperators
Definition
IUnaryNegationOperators.cs:7
System.IUnaryPlusOperators
Definition
IUnaryPlusOperators.cs:7
System.Runtime.Versioning
Definition
NonVersionableAttribute.cs:1
System.ExceptionArgument.value
@ value
System
Definition
BlockingCollection.cs:8
source
System.Private.CoreLib
System
IBinaryNumber.cs
Generated by
1.10.0