Edit

Share via


BFloat16 Struct

Definition

public value class BFloat16 : IComparable<System::Numerics::BFloat16>, IEquatable<System::Numerics::BFloat16>, IParsable<System::Numerics::BFloat16>, ISpanParsable<System::Numerics::BFloat16>, IUtf8SpanParsable<System::Numerics::BFloat16>, System::Numerics::IAdditionOperators<System::Numerics::BFloat16, System::Numerics::BFloat16, System::Numerics::BFloat16>, System::Numerics::IAdditiveIdentity<System::Numerics::BFloat16, System::Numerics::BFloat16>, System::Numerics::IBinaryFloatingPointIeee754<System::Numerics::BFloat16>, System::Numerics::IBinaryNumber<System::Numerics::BFloat16>, System::Numerics::IBitwiseOperators<System::Numerics::BFloat16, System::Numerics::BFloat16, System::Numerics::BFloat16>, System::Numerics::IComparisonOperators<System::Numerics::BFloat16, System::Numerics::BFloat16, bool>, System::Numerics::IDecrementOperators<System::Numerics::BFloat16>, System::Numerics::IDivisionOperators<System::Numerics::BFloat16, System::Numerics::BFloat16, System::Numerics::BFloat16>, System::Numerics::IEqualityOperators<System::Numerics::BFloat16, System::Numerics::BFloat16, bool>, System::Numerics::IExponentialFunctions<System::Numerics::BFloat16>, System::Numerics::IFloatingPoint<System::Numerics::BFloat16>, System::Numerics::IFloatingPointConstants<System::Numerics::BFloat16>, System::Numerics::IFloatingPointIeee754<System::Numerics::BFloat16>, System::Numerics::IHyperbolicFunctions<System::Numerics::BFloat16>, System::Numerics::IIncrementOperators<System::Numerics::BFloat16>, System::Numerics::ILogarithmicFunctions<System::Numerics::BFloat16>, System::Numerics::IMinMaxValue<System::Numerics::BFloat16>, System::Numerics::IModulusOperators<System::Numerics::BFloat16, System::Numerics::BFloat16, System::Numerics::BFloat16>, System::Numerics::IMultiplicativeIdentity<System::Numerics::BFloat16, System::Numerics::BFloat16>, System::Numerics::IMultiplyOperators<System::Numerics::BFloat16, System::Numerics::BFloat16, System::Numerics::BFloat16>, System::Numerics::INumber<System::Numerics::BFloat16>, System::Numerics::INumberBase<System::Numerics::BFloat16>, System::Numerics::IPowerFunctions<System::Numerics::BFloat16>, System::Numerics::IRootFunctions<System::Numerics::BFloat16>, System::Numerics::ISignedNumber<System::Numerics::BFloat16>, System::Numerics::ISubtractionOperators<System::Numerics::BFloat16, System::Numerics::BFloat16, System::Numerics::BFloat16>, System::Numerics::ITrigonometricFunctions<System::Numerics::BFloat16>, System::Numerics::IUnaryNegationOperators<System::Numerics::BFloat16, System::Numerics::BFloat16>, System::Numerics::IUnaryPlusOperators<System::Numerics::BFloat16, System::Numerics::BFloat16>
public readonly struct BFloat16 : IComparable<System.Numerics.BFloat16>, IEquatable<System.Numerics.BFloat16>, IParsable<System.Numerics.BFloat16>, ISpanParsable<System.Numerics.BFloat16>, IUtf8SpanParsable<System.Numerics.BFloat16>, System.Numerics.IAdditionOperators<System.Numerics.BFloat16,System.Numerics.BFloat16,System.Numerics.BFloat16>, System.Numerics.IAdditiveIdentity<System.Numerics.BFloat16,System.Numerics.BFloat16>, System.Numerics.IBinaryFloatingPointIeee754<System.Numerics.BFloat16>, System.Numerics.IBinaryNumber<System.Numerics.BFloat16>, System.Numerics.IBitwiseOperators<System.Numerics.BFloat16,System.Numerics.BFloat16,System.Numerics.BFloat16>, System.Numerics.IComparisonOperators<System.Numerics.BFloat16,System.Numerics.BFloat16,bool>, System.Numerics.IDecrementOperators<System.Numerics.BFloat16>, System.Numerics.IDivisionOperators<System.Numerics.BFloat16,System.Numerics.BFloat16,System.Numerics.BFloat16>, System.Numerics.IEqualityOperators<System.Numerics.BFloat16,System.Numerics.BFloat16,bool>, System.Numerics.IExponentialFunctions<System.Numerics.BFloat16>, System.Numerics.IFloatingPoint<System.Numerics.BFloat16>, System.Numerics.IFloatingPointConstants<System.Numerics.BFloat16>, System.Numerics.IFloatingPointIeee754<System.Numerics.BFloat16>, System.Numerics.IHyperbolicFunctions<System.Numerics.BFloat16>, System.Numerics.IIncrementOperators<System.Numerics.BFloat16>, System.Numerics.ILogarithmicFunctions<System.Numerics.BFloat16>, System.Numerics.IMinMaxValue<System.Numerics.BFloat16>, System.Numerics.IModulusOperators<System.Numerics.BFloat16,System.Numerics.BFloat16,System.Numerics.BFloat16>, System.Numerics.IMultiplicativeIdentity<System.Numerics.BFloat16,System.Numerics.BFloat16>, System.Numerics.IMultiplyOperators<System.Numerics.BFloat16,System.Numerics.BFloat16,System.Numerics.BFloat16>, System.Numerics.INumber<System.Numerics.BFloat16>, System.Numerics.INumberBase<System.Numerics.BFloat16>, System.Numerics.IPowerFunctions<System.Numerics.BFloat16>, System.Numerics.IRootFunctions<System.Numerics.BFloat16>, System.Numerics.ISignedNumber<System.Numerics.BFloat16>, System.Numerics.ISubtractionOperators<System.Numerics.BFloat16,System.Numerics.BFloat16,System.Numerics.BFloat16>, System.Numerics.ITrigonometricFunctions<System.Numerics.BFloat16>, System.Numerics.IUnaryNegationOperators<System.Numerics.BFloat16,System.Numerics.BFloat16>, System.Numerics.IUnaryPlusOperators<System.Numerics.BFloat16,System.Numerics.BFloat16>
type BFloat16 = struct
    interface IFormattable
    interface IParsable<BFloat16>
    interface ISpanFormattable
    interface ISpanParsable<BFloat16>
    interface IUtf8SpanFormattable
    interface IUtf8SpanParsable<BFloat16>
    interface IAdditionOperators<BFloat16, BFloat16, BFloat16>
    interface IAdditiveIdentity<BFloat16, BFloat16>
    interface IBinaryFloatingPointIeee754<BFloat16>
    interface IBinaryNumber<BFloat16>
    interface IBitwiseOperators<BFloat16, BFloat16, BFloat16>
    interface IComparisonOperators<BFloat16, BFloat16, bool>
    interface IEqualityOperators<BFloat16, BFloat16, bool>
    interface IDecrementOperators<BFloat16>
    interface IDivisionOperators<BFloat16, BFloat16, BFloat16>
    interface IIncrementOperators<BFloat16>
    interface IModulusOperators<BFloat16, BFloat16, BFloat16>
    interface IMultiplicativeIdentity<BFloat16, BFloat16>
    interface IMultiplyOperators<BFloat16, BFloat16, BFloat16>
    interface INumber<BFloat16>
    interface INumberBase<BFloat16>
    interface ISubtractionOperators<BFloat16, BFloat16, BFloat16>
    interface IUnaryNegationOperators<BFloat16, BFloat16>
    interface IUnaryPlusOperators<BFloat16, BFloat16>
    interface IExponentialFunctions<BFloat16>
    interface IFloatingPointConstants<BFloat16>
    interface IFloatingPoint<BFloat16>
    interface ISignedNumber<BFloat16>
    interface IFloatingPointIeee754<BFloat16>
    interface IHyperbolicFunctions<BFloat16>
    interface ILogarithmicFunctions<BFloat16>
    interface IPowerFunctions<BFloat16>
    interface IRootFunctions<BFloat16>
    interface ITrigonometricFunctions<BFloat16>
    interface IMinMaxValue<BFloat16>
Public Structure BFloat16
Implements IAdditionOperators(Of BFloat16, BFloat16, BFloat16), IAdditiveIdentity(Of BFloat16, BFloat16), IBinaryFloatingPointIeee754(Of BFloat16), IBinaryNumber(Of BFloat16), IBitwiseOperators(Of BFloat16, BFloat16, BFloat16), IComparable(Of BFloat16), IComparisonOperators(Of BFloat16, BFloat16, Boolean), IDecrementOperators(Of BFloat16), IDivisionOperators(Of BFloat16, BFloat16, BFloat16), IEqualityOperators(Of BFloat16, BFloat16, Boolean), IEquatable(Of BFloat16), IExponentialFunctions(Of BFloat16), IFloatingPoint(Of BFloat16), IFloatingPointConstants(Of BFloat16), IFloatingPointIeee754(Of BFloat16), IHyperbolicFunctions(Of BFloat16), IIncrementOperators(Of BFloat16), ILogarithmicFunctions(Of BFloat16), IMinMaxValue(Of BFloat16), IModulusOperators(Of BFloat16, BFloat16, BFloat16), IMultiplicativeIdentity(Of BFloat16, BFloat16), IMultiplyOperators(Of BFloat16, BFloat16, BFloat16), INumber(Of BFloat16), INumberBase(Of BFloat16), IParsable(Of BFloat16), IPowerFunctions(Of BFloat16), IRootFunctions(Of BFloat16), ISignedNumber(Of BFloat16), ISpanParsable(Of BFloat16), ISubtractionOperators(Of BFloat16, BFloat16, BFloat16), ITrigonometricFunctions(Of BFloat16), IUnaryNegationOperators(Of BFloat16, BFloat16), IUnaryPlusOperators(Of BFloat16, BFloat16), IUtf8SpanParsable(Of BFloat16)
Inheritance
BFloat16
Implements
IComparable IComparable<BFloat16> IComparable<TSelf> IEquatable<BFloat16> IEquatable<TSelf> IFormattable IParsable<BFloat16> IParsable<TSelf> ISpanFormattable ISpanParsable<BFloat16> ISpanParsable<TSelf> IUtf8SpanFormattable IUtf8SpanParsable<BFloat16> IUtf8SpanParsable<TSelf> IAdditionOperators<BFloat16,BFloat16,BFloat16> IAdditionOperators<TSelf,TSelf,TSelf> IAdditiveIdentity<BFloat16,BFloat16> IAdditiveIdentity<TSelf,TSelf> IBinaryFloatingPointIeee754<BFloat16> IBinaryNumber<BFloat16> IBinaryNumber<TSelf> IBitwiseOperators<BFloat16,BFloat16,BFloat16> IBitwiseOperators<TSelf,TSelf,TSelf> IComparisonOperators<BFloat16,BFloat16,Boolean> IComparisonOperators<TSelf,TSelf,Boolean> IDecrementOperators<BFloat16> IDecrementOperators<TSelf> IDivisionOperators<BFloat16,BFloat16,BFloat16> IDivisionOperators<TSelf,TSelf,TSelf> IEqualityOperators<BFloat16,BFloat16,Boolean> IEqualityOperators<TSelf,TOther,TResult> IEqualityOperators<TSelf,TSelf,Boolean> IExponentialFunctions<BFloat16> IExponentialFunctions<TSelf> IFloatingPoint<BFloat16> IFloatingPoint<TSelf> IFloatingPointConstants<BFloat16> IFloatingPointConstants<TSelf> IFloatingPointIeee754<BFloat16> IFloatingPointIeee754<TSelf> IHyperbolicFunctions<BFloat16> IHyperbolicFunctions<TSelf> IIncrementOperators<BFloat16> IIncrementOperators<TSelf> ILogarithmicFunctions<BFloat16> ILogarithmicFunctions<TSelf> IMinMaxValue<BFloat16> IModulusOperators<BFloat16,BFloat16,BFloat16> IModulusOperators<TSelf,TSelf,TSelf> IMultiplicativeIdentity<BFloat16,BFloat16> IMultiplicativeIdentity<TSelf,TSelf> IMultiplyOperators<BFloat16,BFloat16,BFloat16> IMultiplyOperators<TSelf,TSelf,TSelf> INumber<BFloat16> INumber<TSelf> INumberBase<BFloat16> INumberBase<TSelf> IPowerFunctions<BFloat16> IPowerFunctions<TSelf> IRootFunctions<BFloat16> IRootFunctions<TSelf> ISignedNumber<BFloat16> ISignedNumber<TSelf> ISubtractionOperators<BFloat16,BFloat16,BFloat16> ISubtractionOperators<TSelf,TSelf,TSelf> ITrigonometricFunctions<BFloat16> ITrigonometricFunctions<TSelf> IUnaryNegationOperators<BFloat16,BFloat16> IUnaryNegationOperators<TSelf,TSelf> IUnaryPlusOperators<BFloat16,BFloat16> IUnaryPlusOperators<TSelf,TSelf>

Properties

Name Description
E
Epsilon
MaxValue
MinValue
MultiplicativeIdentity
NaN
NegativeInfinity
NegativeOne
NegativeZero
One
Pi
PositiveInfinity
Tau
Zero

Methods

Name Description
Abs(BFloat16)
Acos(BFloat16)
Acosh(BFloat16)
AcosPi(BFloat16)
Asin(BFloat16)
Asinh(BFloat16)
AsinPi(BFloat16)
Atan(BFloat16)
Atan2(BFloat16, BFloat16)
Atan2Pi(BFloat16, BFloat16)
Atanh(BFloat16)
AtanPi(BFloat16)
BitDecrement(BFloat16)
BitIncrement(BFloat16)
Cbrt(BFloat16)
Ceiling(BFloat16)
Clamp(BFloat16, BFloat16, BFloat16)
CompareTo(BFloat16)
CompareTo(Object)
CopySign(BFloat16, BFloat16)
Cos(BFloat16)
Cosh(BFloat16)
CosPi(BFloat16)
CreateChecked<TOther>(TOther)
CreateSaturating<TOther>(TOther)
CreateTruncating<TOther>(TOther)
DegreesToRadians(BFloat16)
Equals(BFloat16)
Equals(Object)
Exp(BFloat16)
Exp10(BFloat16)
Exp10M1(BFloat16)
Exp2(BFloat16)
Exp2M1(BFloat16)
ExpM1(BFloat16)
Floor(BFloat16)
FusedMultiplyAdd(BFloat16, BFloat16, BFloat16)
GetHashCode()
Hypot(BFloat16, BFloat16)
Ieee754Remainder(BFloat16, BFloat16)
ILogB(BFloat16)
IsEvenInteger(BFloat16)
IsFinite(BFloat16)
IsInfinity(BFloat16)
IsInteger(BFloat16)
IsNaN(BFloat16)
IsNegative(BFloat16)
IsNegativeInfinity(BFloat16)
IsNormal(BFloat16)
IsOddInteger(BFloat16)
IsPositive(BFloat16)
IsPositiveInfinity(BFloat16)
IsPow2(BFloat16)
IsRealNumber(BFloat16)
IsSubnormal(BFloat16)
IsZero(BFloat16)
Lerp(BFloat16, BFloat16, BFloat16)
Log(BFloat16, BFloat16)
Log(BFloat16)
Log10(BFloat16)
Log10P1(BFloat16)
Log2(BFloat16)
Log2P1(BFloat16)
LogP1(BFloat16)
Max(BFloat16, BFloat16)
MaxMagnitude(BFloat16, BFloat16)
MaxMagnitudeNumber(BFloat16, BFloat16)
MaxNumber(BFloat16, BFloat16)
Min(BFloat16, BFloat16)
MinMagnitude(BFloat16, BFloat16)
MinMagnitudeNumber(BFloat16, BFloat16)
MinNumber(BFloat16, BFloat16)
Parse(ReadOnlySpan<Byte>, IFormatProvider)
Parse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider)
Parse(ReadOnlySpan<Char>, IFormatProvider)
Parse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider)
Parse(String, IFormatProvider)
Parse(String, NumberStyles, IFormatProvider)
Parse(String, NumberStyles)
Parse(String)
Pow(BFloat16, BFloat16)
RadiansToDegrees(BFloat16)
ReciprocalEstimate(BFloat16)
ReciprocalSqrtEstimate(BFloat16)
RootN(BFloat16, Int32)
Round(BFloat16, Int32, MidpointRounding)
Round(BFloat16, Int32)
Round(BFloat16, MidpointRounding)
Round(BFloat16)
ScaleB(BFloat16, Int32)
Sign(BFloat16)
Sin(BFloat16)
SinCos(BFloat16)
SinCosPi(BFloat16)
Sinh(BFloat16)
SinPi(BFloat16)
Sqrt(BFloat16)
Tan(BFloat16)
Tanh(BFloat16)
TanPi(BFloat16)
ToString()
ToString(IFormatProvider)
ToString(String, IFormatProvider)
ToString(String)
Truncate(BFloat16)
TryFormat(Span<Byte>, Int32, ReadOnlySpan<Char>, IFormatProvider)
TryFormat(Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider)
TryParse(ReadOnlySpan<Byte>, BFloat16)
TryParse(ReadOnlySpan<Byte>, IFormatProvider, BFloat16)
TryParse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider, BFloat16)
TryParse(ReadOnlySpan<Char>, BFloat16)
TryParse(ReadOnlySpan<Char>, IFormatProvider, BFloat16)
TryParse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider, BFloat16)
TryParse(String, BFloat16)
TryParse(String, IFormatProvider, BFloat16)
TryParse(String, NumberStyles, IFormatProvider, BFloat16)

Operators

Name Description
Addition(BFloat16, BFloat16)
CheckedExplicit(BFloat16 to Byte)
Decrement(BFloat16)
Division(BFloat16, BFloat16)
Equality(BFloat16, BFloat16)
Explicit(BFloat16 to Byte)
Explicit(BFloat16 to Char)
Explicit(BFloat16 to Decimal)
Explicit(BFloat16 to Double)
Explicit(BFloat16 to Half)
Explicit(BFloat16 to Int128)
Explicit(BFloat16 to Int16)
Explicit(BFloat16 to Int32)
Explicit(BFloat16 to Int64)
Explicit(BFloat16 to IntPtr)
Explicit(BFloat16 to SByte)
Explicit(BFloat16 to Single)
Explicit(BFloat16 to UInt128)
Explicit(BFloat16 to UInt16)
Explicit(BFloat16 to UInt32)
Explicit(BFloat16 to UInt64)
Explicit(BFloat16 to UIntPtr)
Explicit(Char to BFloat16)
Explicit(Decimal to BFloat16)
Explicit(Double to BFloat16)
Explicit(Half to BFloat16)
Explicit(Int128 to BFloat16)
Explicit(Int16 to BFloat16)
Explicit(Int32 to BFloat16)
Explicit(Int64 to BFloat16)
Explicit(IntPtr to BFloat16)
Explicit(Single to BFloat16)
Explicit(UInt128 to BFloat16)
Explicit(UInt16 to BFloat16)
Explicit(UInt32 to BFloat16)
Explicit(UInt64 to BFloat16)
Explicit(UIntPtr to BFloat16)
GreaterThan(BFloat16, BFloat16)
GreaterThanOrEqual(BFloat16, BFloat16)
Implicit(Byte to BFloat16)
Implicit(SByte to BFloat16)
Increment(BFloat16)
Inequality(BFloat16, BFloat16)
LessThan(BFloat16, BFloat16)
LessThanOrEqual(BFloat16, BFloat16)
Modulus(BFloat16, BFloat16)
Multiply(BFloat16, BFloat16)
Subtraction(BFloat16, BFloat16)
UnaryNegation(BFloat16)
UnaryPlus(BFloat16)

Explicit Interface Implementations

Name Description
IAdditiveIdentity<BFloat16,BFloat16>.AdditiveIdentity
IBinaryNumber<BFloat16>.AllBitsSet
IBitwiseOperators<BFloat16,BFloat16,BFloat16>.BitwiseAnd(BFloat16, BFloat16)
IBitwiseOperators<BFloat16,BFloat16,BFloat16>.BitwiseOr(BFloat16, BFloat16)
IBitwiseOperators<BFloat16,BFloat16,BFloat16>.ExclusiveOr(BFloat16, BFloat16)
IBitwiseOperators<BFloat16,BFloat16,BFloat16>.OnesComplement(BFloat16)
IFloatingPoint<BFloat16>.GetExponentByteCount()
IFloatingPoint<BFloat16>.GetExponentShortestBitLength()
IFloatingPoint<BFloat16>.GetSignificandBitLength()
IFloatingPoint<BFloat16>.GetSignificandByteCount()
IFloatingPoint<BFloat16>.TryWriteExponentBigEndian(Span<Byte>, Int32)
IFloatingPoint<BFloat16>.TryWriteExponentLittleEndian(Span<Byte>, Int32)
IFloatingPoint<BFloat16>.TryWriteSignificandBigEndian(Span<Byte>, Int32)
IFloatingPoint<BFloat16>.TryWriteSignificandLittleEndian(Span<Byte>, Int32)
INumberBase<BFloat16>.IsCanonical(BFloat16)
INumberBase<BFloat16>.IsComplexNumber(BFloat16)
INumberBase<BFloat16>.IsImaginaryNumber(BFloat16)
INumberBase<BFloat16>.IsZero(BFloat16)
INumberBase<BFloat16>.Radix
INumberBase<BFloat16>.TryConvertFromChecked<TOther>(TOther, BFloat16)
INumberBase<BFloat16>.TryConvertFromSaturating<TOther>(TOther, BFloat16)
INumberBase<BFloat16>.TryConvertFromTruncating<TOther>(TOther, BFloat16)
INumberBase<BFloat16>.TryConvertToChecked<TOther>(BFloat16, TOther)
INumberBase<BFloat16>.TryConvertToSaturating<TOther>(BFloat16, TOther)
INumberBase<BFloat16>.TryConvertToTruncating<TOther>(BFloat16, TOther)

Applies to