Half.Implicit Operator
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Implicit(SByte to Half) |
Implicitly converts a SByte value to its nearest representable half-precision floating-point value. |
Implicit(Byte to Half) |
Implicitly converts a Byte value to its nearest representable half-precision floating-point value. |
- Source:
- Half.cs
- Source:
- Half.cs
- Source:
- Half.cs
Important
This API is not CLS-compliant.
Implicitly converts a SByte value to its nearest representable half-precision floating-point value.
public:
static operator Half(System::SByte value);
[System.CLSCompliant(false)]
public static implicit operator Half(sbyte value);
[<System.CLSCompliant(false)>]
static member op_Implicit : sbyte -> Half
Public Shared Widening Operator CType (value As SByte) As Half
Parameters
- value
- SByte
The value to convert.
Returns
value
converted to its nearest representable half-precision floating-point value.
- Attributes
Applies to
.NET 10 та інші версії
Продукт | Версії |
---|---|
.NET | 7, 8, 9, 10 |
- Source:
- Half.cs
- Source:
- Half.cs
- Source:
- Half.cs
Implicitly converts a Byte value to its nearest representable half-precision floating-point value.
public:
static operator Half(System::Byte value);
public static implicit operator Half(byte value);
static member op_Implicit : byte -> Half
Public Shared Widening Operator CType (value As Byte) As Half
Parameters
- value
- Byte
The value to convert.
Returns
value
converted to its nearest representable half-precision floating-point value.
Applies to
.NET 10 та інші версії
Продукт | Версії |
---|---|
.NET | 7, 8, 9, 10 |
Відгук про .NET
.NET – це проект із відкритим кодом. Виберіть посилання, щоб надати відгук: