Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
IFloatingPoint.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 IFloatingPoint<TSelf> : ISignedNumber<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 : IFloatingPoint<TSelf>
7{
8 static abstract TSelf E { get; }
9
10 static abstract TSelf Epsilon { get; }
11
12 static abstract TSelf NaN { get; }
13
14 static abstract TSelf NegativeInfinity { get; }
15
16 static abstract TSelf NegativeZero { get; }
17
18 static abstract TSelf Pi { get; }
19
20 static abstract TSelf PositiveInfinity { get; }
21
22 static abstract TSelf Tau { get; }
23
24 static abstract TSelf Acos(TSelf x);
25
26 static abstract TSelf Acosh(TSelf x);
27
28 static abstract TSelf Asin(TSelf x);
29
30 static abstract TSelf Asinh(TSelf x);
31
32 static abstract TSelf Atan(TSelf x);
33
34 static abstract TSelf Atan2(TSelf y, TSelf x);
35
36 static abstract TSelf Atanh(TSelf x);
37
38 static abstract TSelf BitDecrement(TSelf x);
39
40 static abstract TSelf BitIncrement(TSelf x);
41
42 static abstract TSelf Cbrt(TSelf x);
43
44 static abstract TSelf Ceiling(TSelf x);
45
46 static abstract TSelf CopySign(TSelf x, TSelf y);
47
48 static abstract TSelf Cos(TSelf x);
49
50 static abstract TSelf Cosh(TSelf x);
51
52 static abstract TSelf Exp(TSelf x);
53
54 static abstract TSelf Floor(TSelf x);
55
56 static abstract TSelf FusedMultiplyAdd(TSelf left, TSelf right, TSelf addend);
57
58 static abstract TSelf IEEERemainder(TSelf left, TSelf right);
59
60 static abstract TInteger ILogB<TInteger>(TSelf x) where TInteger : IBinaryInteger<TInteger>;
61
62 static abstract bool IsFinite(TSelf value);
63
64 static abstract bool IsInfinity(TSelf value);
65
66 static abstract bool IsNaN(TSelf value);
67
68 static abstract bool IsNegative(TSelf value);
69
70 static abstract bool IsNegativeInfinity(TSelf value);
71
72 static abstract bool IsNormal(TSelf value);
73
74 static abstract bool IsPositiveInfinity(TSelf value);
75
76 static abstract bool IsSubnormal(TSelf value);
77
78 static abstract TSelf Log(TSelf x);
79
80 static abstract TSelf Log(TSelf x, TSelf newBase);
81
82 static abstract TSelf Log2(TSelf x);
83
84 static abstract TSelf Log10(TSelf x);
85
86 static abstract TSelf MaxMagnitude(TSelf x, TSelf y);
87
88 static abstract TSelf MinMagnitude(TSelf x, TSelf y);
89
90 static abstract TSelf Pow(TSelf x, TSelf y);
91
92 static abstract TSelf Round(TSelf x);
93
94 static abstract TSelf Round<TInteger>(TSelf x, TInteger digits) where TInteger : IBinaryInteger<TInteger>;
95
96 static abstract TSelf Round(TSelf x, MidpointRounding mode);
97
98 static abstract TSelf Round<TInteger>(TSelf x, TInteger digits, MidpointRounding mode) where TInteger : IBinaryInteger<TInteger>;
99
100 static abstract TSelf ScaleB<TInteger>(TSelf x, TInteger n) where TInteger : IBinaryInteger<TInteger>;
101
102 static abstract TSelf Sin(TSelf x);
103
104 static abstract TSelf Sinh(TSelf x);
105
106 static abstract TSelf Sqrt(TSelf x);
107
108 static abstract TSelf Tan(TSelf x);
109
110 static abstract TSelf Tanh(TSelf x);
111
112 static abstract TSelf Truncate(TSelf x);
113}
static bool IsNaN(TSelf value)
static TSelf CopySign(TSelf x, TSelf y)
static bool IsPositiveInfinity(TSelf value)
static TSelf ScaleB< TInteger >(TSelf x, TInteger n)
static TSelf Acosh(TSelf x)
static TSelf MinMagnitude(TSelf x, TSelf y)
static TSelf Log10(TSelf x)
static TSelf Ceiling(TSelf x)
static bool IsFinite(TSelf value)
static TSelf Round(TSelf x, MidpointRounding mode)
static bool IsNegativeInfinity(TSelf value)
static TSelf MaxMagnitude(TSelf x, TSelf y)
static TSelf PositiveInfinity
static TSelf IEEERemainder(TSelf left, TSelf right)
static TSelf Pow(TSelf x, TSelf y)
static TSelf Asin(TSelf x)
static TSelf Floor(TSelf x)
static TSelf Truncate(TSelf x)
static TSelf Asinh(TSelf x)
static TSelf Atanh(TSelf x)
static TSelf NegativeZero
static TInteger ILogB< TInteger >(TSelf x)
static TSelf Round< TInteger >(TSelf x, TInteger digits)
static TSelf Log(TSelf x)
static TSelf Cbrt(TSelf x)
static TSelf BitIncrement(TSelf x)
static TSelf Tan(TSelf x)
static TSelf Sinh(TSelf x)
static bool IsInfinity(TSelf value)
static bool IsSubnormal(TSelf value)
static TSelf Tanh(TSelf x)
static TSelf Exp(TSelf x)
static bool IsNegative(TSelf value)
static TSelf Atan(TSelf x)
static TSelf Log(TSelf x, TSelf newBase)
static TSelf Sqrt(TSelf x)
static TSelf BitDecrement(TSelf x)
static TSelf FusedMultiplyAdd(TSelf left, TSelf right, TSelf addend)
static TSelf Sin(TSelf x)
static TSelf Acos(TSelf x)
static TSelf Round(TSelf x)
static bool IsNormal(TSelf value)
static TSelf Atan2(TSelf y, TSelf x)
static TSelf Cos(TSelf x)
static TSelf Cosh(TSelf x)
static TSelf NegativeInfinity
static TSelf Log2(TSelf x)