10[TypeForwardedFrom(
"mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
11public readonly
struct Single :
IComparable,
IConvertible,
ISpanFormattable,
IFormattable,
IComparable<float>,
IEquatable<float>,
IBinaryFloatingPoint<float>,
IBinaryNumber<float>,
IBitwiseOperators<float, float, float>,
INumber<float>,
IAdditionOperators<float, float, float>,
IAdditiveIdentity<float, float>,
IComparisonOperators<float, float>,
IEqualityOperators<float, float>,
IDecrementOperators<float>,
IDivisionOperators<float, float, float>,
IIncrementOperators<float>,
IModulusOperators<float, float, float>,
IMultiplicativeIdentity<float, float>,
IMultiplyOperators<float, float, float>,
ISpanParseable<float>,
IParseable<float>,
ISubtractionOperators<float, float, float>,
IUnaryNegationOperators<float, float>,
IUnaryPlusOperators<float, float>,
IFloatingPoint<float>,
ISignedNumber<float>,
IMinMaxValue<float>
25 public const float NaN = 0f / 0f;
27 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
30 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
33 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
36 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
39 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
42 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
45 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
48 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
51 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
54 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
57 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
60 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
63 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
66 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
69 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
77 return (num & 0x7FFFFFFF) < 2139095040;
85 return (num & 0x7FFFFFFF) == 2139095040;
90 public static bool IsNaN(
float f)
106 return f ==
float.NegativeInfinity;
114 if (num < 2139095040 && num != 0)
116 return (num & 0x7F800000) != 0;
125 return f ==
float.PositiveInfinity;
133 if (num < 2139095040 && num != 0)
135 return (num & 0x7F800000) == 0;
142 return (
int)((bits >> 23) & 0xFF);
147 return bits & 0x7FFFFFu;
156 if (
value is
float num)
211 return left == right;
217 return left != right;
235 return left <= right;
241 return left >= right;
244 public override bool Equals([NotNullWhen(
true)]
object?
obj)
246 if (!(
obj is
float num))
278 if (((num - 1) & 0x7FFFFFFF) >= 2139095040)
354 public static bool TryParse([NotNullWhen(
true)]
string?
s, out
float result)
471 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
477 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
481 uint num2 = (num >> 23) & 0xFFu;
482 uint num3 = num & 0x7FFFFFu;
483 if (
value > 0f && num2 != 0 && num2 != 255)
490 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
496 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
503 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
510 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
517 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
524 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
530 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
533 return left <= right;
536 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
542 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
545 return left >= right;
548 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
554 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
560 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
563 return left == right;
566 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
569 return left != right;
572 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
578 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
584 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
590 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
596 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
602 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
608 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
614 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
620 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
626 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
632 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
638 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
644 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
650 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
656 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
662 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
668 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
674 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
680 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
686 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
692 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
698 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
704 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
710 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
716 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
722 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
728 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
734 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
740 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
746 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
749 return MathF.
Round(x,
int.Create(digits), mode);
752 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
758 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
764 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
770 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
776 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
782 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
788 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
794 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
800 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
806 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
812 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
818 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
824 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
830 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
836 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
842 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
848 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
854 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
860 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
866 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
873 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
876 if (typeof(TOther) == typeof(
byte))
878 return (
int)(byte)(
object)
value;
880 if (typeof(TOther) == typeof(
char))
882 return (
int)(char)(
object)
value;
884 if (typeof(TOther) == typeof(decimal))
886 return (
float)(decimal)(
object)
value;
888 if (typeof(TOther) == typeof(
double))
890 return (
float)(double)(
object)
value;
892 if (typeof(TOther) == typeof(
short))
894 return (
short)(object)
value;
896 if (typeof(TOther) == typeof(
int))
898 return (
int)(object)
value;
900 if (typeof(TOther) == typeof(
long))
902 return (
long)(object)
value;
904 if (typeof(TOther) == typeof(
IntPtr))
908 if (typeof(TOther) == typeof(sbyte))
910 return (sbyte)(object)
value;
912 if (typeof(TOther) == typeof(
float))
914 return (
float)(object)
value;
916 if (typeof(TOther) == typeof(ushort))
918 return (
int)(ushort)(
object)
value;
920 if (typeof(TOther) == typeof(uint))
922 return (uint)(object)
value;
924 if (typeof(TOther) == typeof(ulong))
926 return (ulong)(object)
value;
928 if (typeof(TOther) == typeof(
UIntPtr))
937 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
940 if (typeof(TOther) == typeof(
byte))
942 return (
int)(byte)(
object)
value;
944 if (typeof(TOther) == typeof(
char))
946 return (
int)(char)(
object)
value;
948 if (typeof(TOther) == typeof(decimal))
950 return (
float)(decimal)(
object)
value;
952 if (typeof(TOther) == typeof(
double))
954 return (
float)(double)(
object)
value;
956 if (typeof(TOther) == typeof(
short))
958 return (
short)(object)
value;
960 if (typeof(TOther) == typeof(
int))
962 return (
int)(object)
value;
964 if (typeof(TOther) == typeof(
long))
966 return (
long)(object)
value;
968 if (typeof(TOther) == typeof(
IntPtr))
972 if (typeof(TOther) == typeof(sbyte))
974 return (sbyte)(object)
value;
976 if (typeof(TOther) == typeof(
float))
978 return (
float)(object)
value;
980 if (typeof(TOther) == typeof(ushort))
982 return (
int)(ushort)(
object)
value;
984 if (typeof(TOther) == typeof(uint))
986 return (uint)(object)
value;
988 if (typeof(TOther) == typeof(ulong))
990 return (ulong)(object)
value;
992 if (typeof(TOther) == typeof(
UIntPtr))
1001 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
1004 if (typeof(TOther) == typeof(
byte))
1006 return (
int)(byte)(
object)
value;
1008 if (typeof(TOther) == typeof(
char))
1010 return (
int)(char)(
object)
value;
1012 if (typeof(TOther) == typeof(decimal))
1014 return (
float)(decimal)(
object)
value;
1016 if (typeof(TOther) == typeof(
double))
1018 return (
float)(double)(
object)
value;
1020 if (typeof(TOther) == typeof(
short))
1022 return (
short)(object)
value;
1024 if (typeof(TOther) == typeof(
int))
1026 return (
int)(object)
value;
1028 if (typeof(TOther) == typeof(
long))
1030 return (
long)(object)
value;
1032 if (typeof(TOther) == typeof(
IntPtr))
1036 if (typeof(TOther) == typeof(sbyte))
1038 return (sbyte)(object)
value;
1040 if (typeof(TOther) == typeof(
float))
1042 return (
float)(object)
value;
1044 if (typeof(TOther) == typeof(ushort))
1046 return (
int)(ushort)(
object)
value;
1048 if (typeof(TOther) == typeof(uint))
1050 return (uint)(object)
value;
1052 if (typeof(TOther) == typeof(ulong))
1054 return (ulong)(object)
value;
1056 if (typeof(TOther) == typeof(
UIntPtr))
1064 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
1067 return (
Quotient: left / right, Remainder: left % right);
1070 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
1076 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
1082 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
1085 return Parse(
s, style, provider);
1088 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
1091 return Parse(
s, style, provider);
1094 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
1101 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
1104 if (typeof(TOther) == typeof(
byte))
1106 result = (int)(
byte)(object)
value;
1109 if (typeof(TOther) == typeof(
char))
1111 result = (int)(
char)(object)
value;
1114 if (typeof(TOther) == typeof(decimal))
1116 result = (float)(decimal)(object)
value;
1119 if (typeof(TOther) == typeof(
double))
1121 result = (float)(
double)(object)
value;
1124 if (typeof(TOther) == typeof(
short))
1129 if (typeof(TOther) == typeof(
int))
1131 result = (int)(
object)
value;
1134 if (typeof(TOther) == typeof(
long))
1136 result = (long)(
object)
value;
1139 if (typeof(TOther) == typeof(
IntPtr))
1144 if (typeof(TOther) == typeof(sbyte))
1146 result = (sbyte)(
object)
value;
1149 if (typeof(TOther) == typeof(
float))
1151 result = (float)(
object)
value;
1154 if (typeof(TOther) == typeof(ushort))
1156 result = (int)(ushort)(object)
value;
1159 if (typeof(TOther) == typeof(uint))
1161 result = (uint)(
object)
value;
1164 if (typeof(TOther) == typeof(ulong))
1166 result = (ulong)(
object)
value;
1169 if (typeof(TOther) == typeof(
UIntPtr))
1179 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
1182 return TryParse(
s, style, provider, out result);
1185 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
1188 return TryParse(
s, style, provider, out result);
1191 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
1194 return Parse(
s, provider);
1197 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
1203 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
1209 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
1215 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
1218 return left - right;
1221 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
1227 [RequiresPreviewFeatures(
"Generic Math is in preview.", Url =
"https://aka.ms/dotnet-warnings/generic-math-preview")]
static unsafe int SingleToInt32Bits(float value)
static uint SingleToUInt32Bits(float value)
static float UInt32BitsToSingle(uint value)
static decimal ToDecimal(object? value)
static long ToInt64(object? value)
static int ToInt32(object? value)
static short ToInt16(object? value)
static byte ToByte(object? value)
static uint ToUInt32(object? value)
static ulong ToUInt64(object? value)
static ushort ToUInt16(object? value)
static sbyte ToSByte(object? value)
static double ToDouble(object? value)
static bool ToBoolean([NotNullWhen(true)] object? value)
static object DefaultToType(IConvertible value, Type targetType, IFormatProvider provider)
static float Abs(float x)
static float Log(float x)
static unsafe float Truncate(float x)
static float MinMagnitude(float x, float y)
static float ScaleB(float x, int n)
static float Log2(float x)
static float Max(float x, float y)
static float Atan(float x)
static float Acosh(float x)
static float FusedMultiplyAdd(float x, float y, float z)
static float Atan2(float y, float x)
static float Sqrt(float x)
static float BitIncrement(float x)
static float MaxMagnitude(float x, float y)
static float Pow(float x, float y)
static float Min(float x, float y)
static float Log10(float x)
static float Asinh(float x)
static float Acos(float x)
static float Cos(float x)
static float Sinh(float x)
static float Asin(float x)
static float Atanh(float x)
static float Cbrt(float x)
static float Cosh(float x)
static float IEEERemainder(float x, float y)
static float BitDecrement(float x)
static float CopySign(float x, float y)
static float Ceiling(float x)
static float Sin(float x)
static float Floor(float x)
static float Exp(float x)
static float Tan(float x)
static float Tanh(float x)
static int ILogB(float x)
static float Round(float x)
static byte Clamp(byte value, byte min, byte max)
static bool TryFormatSingle(float value, ReadOnlySpan< char > format, NumberFormatInfo info, Span< char > destination, out int charsWritten)
static unsafe bool TryParseSingle(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, out float result)
static float ParseSingle(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info)
static string FormatSingle(float value, string format, NumberFormatInfo info)
static string InvalidCast_FromTo
static string Format(string resourceFormat, object p1)
static string Arg_MustBeSingle
static void ThrowNotSupportedException(ExceptionResource resource)
static void ThrowArgumentNullException(string name)
static TResult AdditiveIdentity
static bool IsPow2(TSelf value)
static TSelf Log2(TSelf value)
short ToInt16(IFormatProvider? provider)
char ToChar(IFormatProvider? provider)
byte ToByte(IFormatProvider? provider)
decimal ToDecimal(IFormatProvider? provider)
object ToType(Type conversionType, IFormatProvider? provider)
uint ToUInt32(IFormatProvider? provider)
DateTime ToDateTime(IFormatProvider? provider)
int ToInt32(IFormatProvider? provider)
long ToInt64(IFormatProvider? provider)
ushort ToUInt16(IFormatProvider? provider)
double ToDouble(IFormatProvider? provider)
float ToSingle(IFormatProvider? provider)
sbyte ToSByte(IFormatProvider? provider)
ulong ToUInt64(IFormatProvider? provider)
bool ToBoolean(IFormatProvider? provider)
static bool IsNaN(TSelf value)
static TSelf CopySign(TSelf x, TSelf y)
static bool IsPositiveInfinity(TSelf value)
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 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 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 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)
static TResult MultiplicativeIdentity
static TSelf Max(TSelf x, TSelf y)
static bool TryParse([NotNullWhen(true)] string? s, NumberStyles style, IFormatProvider? provider, out TSelf result)
static TSelf Parse(string s, NumberStyles style, IFormatProvider? provider)
static TSelf Sign(TSelf value)
static TSelf Min(TSelf x, TSelf y)
static TSelf Abs(TSelf value)
static TSelf Clamp(TSelf value, TSelf min, TSelf max)
static bool TryParse([NotNullWhen(true)] string? s, IFormatProvider? provider, out TSelf result)
static TSelf Parse(string s, IFormatProvider? provider)
static bool TryParse(ReadOnlySpan< char > s, IFormatProvider? provider, out TSelf result)
static TSelf Parse(ReadOnlySpan< char > s, IFormatProvider? provider)
static float Parse(string s, IFormatProvider? provider)
int CompareTo(float value)
string ToString(string? format, IFormatProvider? provider)
static bool IsNegative(float f)
static float float Remainder INumber< float >. DivRem(float left, float right)
static int ExtractExponentFromBits(uint bits)
string ToString(string? format)
static bool operator!=(float left, float right)
static uint ExtractSignificandFromBits(uint bits)
static bool IsSubnormal(float f)
static bool IsNegativeInfinity(float f)
static bool operator==(float left, float right)
override string ToString()
static bool TryParse([NotNullWhen(true)] string? s, out float result)
static bool IsNaN(float f)
static bool IsNormal(float f)
const float NegativeInfinity
static float Parse(string s, NumberStyles style, IFormatProvider? provider)
int CompareTo(object? value)
static bool TryParse([NotNullWhen(true)] string? s, NumberStyles style, IFormatProvider? provider, out float result)
static bool operator>(float left, float right)
override bool Equals([NotNullWhen(true)] object? obj)
static bool operator<=(float left, float right)
static float Parse(string s)
static bool TryParse(ReadOnlySpan< char > s, NumberStyles style, IFormatProvider? provider, out float result)
static bool TryParse(ReadOnlySpan< char > s, NumberStyles style, NumberFormatInfo info, out float result)
static bool operator<(float left, float right)
static bool operator>=(float left, float right)
static bool IsInfinity(float f)
static float IFloatingPoint< float >. E
static bool IsFinite(float f)
static bool IsPositiveInfinity(float f)
bool TryFormat(Span< char > destination, out int charsWritten, ReadOnlySpan< char > format=default(ReadOnlySpan< char >), IFormatProvider? provider=null)
static bool TryParse(ReadOnlySpan< char > s, out float result)
static float Parse(ReadOnlySpan< char > s, NumberStyles style=NumberStyles.Float|NumberStyles.AllowThousands, IFormatProvider? provider=null)
const float PositiveInfinity
string ToString(IFormatProvider? provider)
override int GetHashCode()
static float Parse(string s, NumberStyles style)