Half.Implicit Operator

Definition

Överlagringar

Name Description
Implicit(SByte to Half)

Konverterar implicit ett SByte värde till dess närmaste representerande flyttalsvärde med halv precision.

Implicit(Byte to Half)

Konverterar implicit ett Byte värde till dess närmaste representerande flyttalsvärde med halv precision.

Implicit(SByte to Half)

Källa:
Half.cs
Källa:
Half.cs
Källa:
Half.cs
Källa:
Half.cs
Källa:
Half.cs

Viktigt!

Detta API uppfyller inte CLS.

Konverterar implicit ett SByte värde till dess närmaste representerande flyttalsvärde med halv precision.

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

Parametrar

value
SByte

Värdet som ska konverteras.

Returer

value konverteras till närmaste representerande flyttalsvärde med halv precision.

Attribut

Gäller för

Implicit(Byte to Half)

Källa:
Half.cs
Källa:
Half.cs
Källa:
Half.cs
Källa:
Half.cs
Källa:
Half.cs

Konverterar implicit ett Byte värde till dess närmaste representerande flyttalsvärde med halv precision.

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

Parametrar

value
Byte

Värdet som ska konverteras.

Returer

value konverteras till närmaste representerande flyttalsvärde med halv precision.

Gäller för