Half.Explicit Operator

Definition

Överlagringar

Name Description
Explicit(Half to UInt32)

Konverterar uttryckligen ett flyttal med halv precision till närmaste representerande UInt32 värde.

Explicit(Half to UInt64)

Konverterar uttryckligen ett flyttal med halv precision till närmaste representerande UInt64 värde.

Explicit(Half to UIntPtr)

Konverterar uttryckligen ett flyttal med halv precision till närmaste representerande UIntPtr värde.

Explicit(Int16 to Half)

Konverterar uttryckligen ett Int16 värde till dess närmaste representerande flyttalsvärde med halv precision.

Explicit(Int32 to Half)

Konverterar uttryckligen ett Int32 värde till dess närmaste representerande flyttalsvärde med halv precision.

Explicit(Int64 to Half)

Konverterar uttryckligen ett Int64 värde till dess närmaste representerande flyttalsvärde med halv precision.

Explicit(UIntPtr to Half)

Konverterar uttryckligen ett UIntPtr värde till dess närmaste representerande flyttalsvärde med halv precision.

Explicit(Single to Half)

En explicit operator för att konvertera ett Single värde till en Half.

Explicit(UInt16 to Half)

Konverterar uttryckligen ett UInt16 värde till dess närmaste representerande flyttalsvärde med halv precision.

Explicit(UInt32 to Half)

Konverterar uttryckligen ett UInt32 värde till dess närmaste representerande flyttalsvärde med halv precision.

Explicit(UInt64 to Half)

Konverterar uttryckligen ett UInt64 värde till dess närmaste representerande flyttalsvärde med halv precision.

Explicit(Half to UInt16)

Konverterar uttryckligen ett flyttal med halv precision till närmaste representerande UInt16 värde.

Explicit(IntPtr to Half)

Konverterar uttryckligen ett IntPtr värde till dess närmaste representerande flyttalsvärde med halv precision.

Explicit(Half to UInt128)

Konverterar uttryckligen ett flyttal med halv precision till närmaste representerande UInt128.

Explicit(Half to Int64)

Konverterar uttryckligen ett flyttal med halv precision till närmaste representerande Int64 värde.

Explicit(Half to SByte)

Konverterar uttryckligen ett flyttal med halv precision till närmaste representerande SByte värde.

Explicit(Char to Half)

Konverterar uttryckligen ett Char värde till dess närmaste representerande flyttalsvärde med halv precision.

Explicit(Double to Half)

En explicit operator för att konvertera ett Double värde till en Half.

Explicit(Half to Byte)

Konverterar uttryckligen ett flyttal med halv precision till närmaste representerande Byte värde.

Explicit(Half to Char)

Konverterar uttryckligen ett flyttal med halv precision till närmaste representerande Char värde.

Explicit(Half to Decimal)

Konverterar uttryckligen ett flyttal med halv precision till närmaste representerande Decimal värde.

Explicit(Decimal to Half)

Konverterar uttryckligen ett Decimal värde till dess närmaste representerande flyttalsvärde med halv precision.

Explicit(Half to Int128)

Konverterar uttryckligen ett flyttal med halv precision till närmaste representerande Int128.

Explicit(Half to Int16)

Konverterar uttryckligen ett flyttal med halv precision till närmaste representerande Int16 värde.

Explicit(Half to Int32)

Konverterar uttryckligen ett flyttal med halv precision till närmaste representerande Int32 värde.

Explicit(Half to Single)

En explicit operator för att konvertera ett Half värde till en Single.

Explicit(Half to IntPtr)

Konverterar uttryckligen ett flyttal med halv precision till närmaste representerande IntPtr värde.

Explicit(Half to Double)

En explicit operator för att konvertera ett Half värde till en Double.

Explicit(Half to UInt32)

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 uttryckligen ett flyttal med halv precision till närmaste representerande UInt32 värde.

public:
 static explicit operator System::UInt32(Half value);
[System.CLSCompliant(false)]
public static explicit operator uint(Half value);
[<System.CLSCompliant(false)>]
static member op_Explicit : Half -> uint32
Public Shared Narrowing Operator CType (value As Half) As UInteger

Parametrar

value
Half

Värdet som ska konverteras.

Returer

value konverteras till närmaste representerande UInt32 värde.

Attribut

Gäller för

Explicit(Half to UInt64)

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 uttryckligen ett flyttal med halv precision till närmaste representerande UInt64 värde.

public:
 static explicit operator System::UInt64(Half value);
[System.CLSCompliant(false)]
public static explicit operator ulong(Half value);
[<System.CLSCompliant(false)>]
static member op_Explicit : Half -> uint64
Public Shared Narrowing Operator CType (value As Half) As ULong

Parametrar

value
Half

Värdet som ska konverteras.

Returer

value konverteras till närmaste representerande UInt64 värde.

Attribut

Gäller för

Explicit(Half to UIntPtr)

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 uttryckligen ett flyttal med halv precision till närmaste representerande UIntPtr värde.

public:
 static explicit operator UIntPtr(Half value);
[System.CLSCompliant(false)]
public static explicit operator UIntPtr(Half value);
[<System.CLSCompliant(false)>]
static member op_Explicit : Half -> unativeint
Public Shared Narrowing Operator CType (value As Half) As UIntPtr

Parametrar

value
Half

Värdet som ska konverteras.

Returer

UIntPtr

unativeint

value konverteras till närmaste representerande UIntPtr värde.

Attribut

Gäller för

Explicit(Int16 to Half)

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

Konverterar uttryckligen ett Int16 värde till dess närmaste representerande flyttalsvärde med halv precision.

public:
 static explicit operator Half(short value);
public static explicit operator Half(short value);
static member op_Explicit : int16 -> Half
Public Shared Narrowing Operator CType (value As Short) As Half

Parametrar

value
Int16

Värdet som ska konverteras.

Returer

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

Gäller för

Explicit(Int32 to Half)

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

Konverterar uttryckligen ett Int32 värde till dess närmaste representerande flyttalsvärde med halv precision.

public:
 static explicit operator Half(int value);
public static explicit operator Half(int value);
static member op_Explicit : int -> Half
Public Shared Narrowing Operator CType (value As Integer) As Half

Parametrar

value
Int32

Värdet som ska konverteras.

Returer

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

Gäller för

Explicit(Int64 to Half)

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

Konverterar uttryckligen ett Int64 värde till dess närmaste representerande flyttalsvärde med halv precision.

public:
 static explicit operator Half(long value);
public static explicit operator Half(long value);
static member op_Explicit : int64 -> Half
Public Shared Narrowing Operator CType (value As Long) As Half

Parametrar

value
Int64

Värdet som ska konverteras.

Returer

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

Gäller för

Explicit(UIntPtr 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 uttryckligen ett UIntPtr värde till dess närmaste representerande flyttalsvärde med halv precision.

public:
 static explicit operator Half(UIntPtr value);
[System.CLSCompliant(false)]
public static explicit operator Half(UIntPtr value);
[<System.CLSCompliant(false)>]
static member op_Explicit : unativeint -> Half
Public Shared Narrowing Operator CType (value As UIntPtr) As Half

Parametrar

value
UIntPtr

unativeint

Värdet som ska konverteras.

Returer

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

Attribut

Gäller för

Explicit(Single to Half)

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

En explicit operator för att konvertera ett Single värde till en Half.

public:
 static explicit operator Half(float value);
public static explicit operator Half(float value);
static member op_Explicit : single -> Half
Public Shared Narrowing Operator CType (value As Single) As Half

Parametrar

value
Single

Flyttalsvärdet med enkel precision som ska konverteras till Half.

Returer

Representationen Half av den angivna flyttalsen valuemed enkel precision .

Gäller för

Explicit(UInt16 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 uttryckligen ett UInt16 värde till dess närmaste representerande flyttalsvärde med halv precision.

public:
 static explicit operator Half(System::UInt16 value);
[System.CLSCompliant(false)]
public static explicit operator Half(ushort value);
[<System.CLSCompliant(false)>]
static member op_Explicit : uint16 -> Half
Public Shared Narrowing Operator CType (value As UShort) As Half

Parametrar

value
UInt16

Värdet som ska konverteras.

Returer

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

Attribut

Gäller för

Explicit(UInt32 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 uttryckligen ett UInt32 värde till dess närmaste representerande flyttalsvärde med halv precision.

public:
 static explicit operator Half(System::UInt32 value);
[System.CLSCompliant(false)]
public static explicit operator Half(uint value);
[<System.CLSCompliant(false)>]
static member op_Explicit : uint32 -> Half
Public Shared Narrowing Operator CType (value As UInteger) As Half

Parametrar

value
UInt32

Värdet som ska konverteras.

Returer

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

Attribut

Gäller för

Explicit(UInt64 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 uttryckligen ett UInt64 värde till dess närmaste representerande flyttalsvärde med halv precision.

public:
 static explicit operator Half(System::UInt64 value);
[System.CLSCompliant(false)]
public static explicit operator Half(ulong value);
[<System.CLSCompliant(false)>]
static member op_Explicit : uint64 -> Half
Public Shared Narrowing Operator CType (value As ULong) As Half

Parametrar

value
UInt64

Värdet som ska konverteras.

Returer

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

Attribut

Gäller för

Explicit(Half to UInt16)

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 uttryckligen ett flyttal med halv precision till närmaste representerande UInt16 värde.

public:
 static explicit operator System::UInt16(Half value);
[System.CLSCompliant(false)]
public static explicit operator ushort(Half value);
[<System.CLSCompliant(false)>]
static member op_Explicit : Half -> uint16
Public Shared Narrowing Operator CType (value As Half) As UShort

Parametrar

value
Half

Värdet som ska konverteras.

Returer

value konverteras till närmaste representerande UInt16 värde.

Attribut

Gäller för

Explicit(IntPtr to Half)

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

Konverterar uttryckligen ett IntPtr värde till dess närmaste representerande flyttalsvärde med halv precision.

public:
 static explicit operator Half(IntPtr value);
public static explicit operator Half(IntPtr value);
static member op_Explicit : nativeint -> Half
Public Shared Narrowing Operator CType (value As IntPtr) As Half

Parametrar

value
IntPtr

nativeint

Värdet som ska konverteras.

Returer

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

Gäller för

Explicit(Half to UInt128)

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 uttryckligen ett flyttal med halv precision till närmaste representerande UInt128.

public:
 static explicit operator UInt128(Half value);
[System.CLSCompliant(false)]
public static explicit operator UInt128(Half value);
[<System.CLSCompliant(false)>]
static member op_Explicit : Half -> UInt128
Public Shared Narrowing Operator CType (value As Half) As UInt128

Parametrar

value
Half

Värdet som ska konverteras.

Returer

value konverteras till ett 128-bitars osignerat heltal.

Attribut

Gäller för

Explicit(Half to Int64)

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

Konverterar uttryckligen ett flyttal med halv precision till närmaste representerande Int64 värde.

public:
 static explicit operator long(Half value);
public static explicit operator long(Half value);
static member op_Explicit : Half -> int64
Public Shared Narrowing Operator CType (value As Half) As Long

Parametrar

value
Half

Värdet som ska konverteras.

Returer

value konverteras till närmaste representerande Int64 värde.

Gäller för

Explicit(Half to SByte)

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 uttryckligen ett flyttal med halv precision till närmaste representerande SByte värde.

public:
 static explicit operator System::SByte(Half value);
[System.CLSCompliant(false)]
public static explicit operator sbyte(Half value);
[<System.CLSCompliant(false)>]
static member op_Explicit : Half -> sbyte
Public Shared Narrowing Operator CType (value As Half) As SByte

Parametrar

value
Half

Värdet som ska konverteras.

Returer

value konverteras till närmaste representerande SByte värde.

Attribut

Gäller för

Explicit(Char to Half)

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

Konverterar uttryckligen ett Char värde till dess närmaste representerande flyttalsvärde med halv precision.

public:
 static explicit operator Half(char value);
public static explicit operator Half(char value);
static member op_Explicit : char -> Half
Public Shared Narrowing Operator CType (value As Char) As Half

Parametrar

value
Char

Värdet som ska konverteras.

Returer

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

Gäller för

Explicit(Double to Half)

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

En explicit operator för att konvertera ett Double värde till en Half.

public:
 static explicit operator Half(double value);
public static explicit operator Half(double value);
static member op_Explicit : double -> Half
Public Shared Narrowing Operator CType (value As Double) As Half

Parametrar

value
Double

Flyttalsvärdet med dubbel precision som ska konverteras till Half.

Returer

Representationen Half av den angivna flyttalsen valuemed dubbel precision .

Gäller för

Explicit(Half to Byte)

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

Konverterar uttryckligen ett flyttal med halv precision till närmaste representerande Byte värde.

public:
 static explicit operator System::Byte(Half value);
public static explicit operator byte(Half value);
static member op_Explicit : Half -> byte
Public Shared Narrowing Operator CType (value As Half) As Byte

Parametrar

value
Half

Värdet som ska konverteras.

Returer

value konverteras till närmaste representerande Byte värde.

Gäller för

Explicit(Half to Char)

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

Konverterar uttryckligen ett flyttal med halv precision till närmaste representerande Char värde.

public:
 static explicit operator char(Half value);
public static explicit operator char(Half value);
static member op_Explicit : Half -> char
Public Shared Narrowing Operator CType (value As Half) As Char

Parametrar

value
Half

Värdet som ska konverteras.

Returer

value konverteras till närmaste representerande Char värde.

Gäller för

Explicit(Half to Decimal)

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

Konverterar uttryckligen ett flyttal med halv precision till närmaste representerande Decimal värde.

public:
 static explicit operator System::Decimal(Half value);
public static explicit operator decimal(Half value);
static member op_Explicit : Half -> decimal
Public Shared Narrowing Operator CType (value As Half) As Decimal

Parametrar

value
Half

Värdet som ska konverteras.

Returer

value konverteras till närmaste representerande Decimal värde.

Gäller för

Explicit(Decimal to Half)

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

Konverterar uttryckligen ett Decimal värde till dess närmaste representerande flyttalsvärde med halv precision.

public:
 static explicit operator Half(System::Decimal value);
public static explicit operator Half(decimal value);
static member op_Explicit : decimal -> Half
Public Shared Narrowing Operator CType (value As Decimal) As Half

Parametrar

value
Decimal

Värdet som ska konverteras.

Returer

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

Gäller för

Explicit(Half to Int128)

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

Konverterar uttryckligen ett flyttal med halv precision till närmaste representerande Int128.

public:
 static explicit operator Int128(Half value);
public static explicit operator Int128(Half value);
static member op_Explicit : Half -> Int128
Public Shared Narrowing Operator CType (value As Half) As Int128

Parametrar

value
Half

Värdet som ska konverteras.

Returer

value konverterat till ett 128-bitars signerat heltal.

Gäller för

Explicit(Half to Int16)

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

Konverterar uttryckligen ett flyttal med halv precision till närmaste representerande Int16 värde.

public:
 static explicit operator short(Half value);
public static explicit operator short(Half value);
static member op_Explicit : Half -> int16
Public Shared Narrowing Operator CType (value As Half) As Short

Parametrar

value
Half

Värdet som ska konverteras.

Returer

value konverteras till närmaste representerande Int16 värde.

Gäller för

Explicit(Half to Int32)

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

Konverterar uttryckligen ett flyttal med halv precision till närmaste representerande Int32 värde.

public:
 static explicit operator int(Half value);
public static explicit operator int(Half value);
static member op_Explicit : Half -> int
Public Shared Narrowing Operator CType (value As Half) As Integer

Parametrar

value
Half

Värdet som ska konverteras.

Returer

value konverteras till närmaste representerande Int32 värde.

Gäller för

Explicit(Half to Single)

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

En explicit operator för att konvertera ett Half värde till en Single.

public:
 static explicit operator float(Half value);
public static explicit operator float(Half value);
static member op_Explicit : Half -> single
Public Shared Narrowing Operator CType (value As Half) As Single

Parametrar

value
Half

Flyttalsvärdet med halv precision som ska konverteras till Single.

Returer

Representationen Single av den angivna flyttal valuemed halv precision .

Gäller för

Explicit(Half to IntPtr)

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

Konverterar uttryckligen ett flyttal med halv precision till närmaste representerande IntPtr värde.

public:
 static explicit operator IntPtr(Half value);
public static explicit operator IntPtr(Half value);
static member op_Explicit : Half -> nativeint
Public Shared Narrowing Operator CType (value As Half) As IntPtr

Parametrar

value
Half

Värdet som ska konverteras.

Returer

IntPtr

nativeint

value konverteras till närmaste representerande IntPtr värde.

Gäller för

Explicit(Half to Double)

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

En explicit operator för att konvertera ett Half värde till en Double.

public:
 static explicit operator double(Half value);
public static explicit operator double(Half value);
static member op_Explicit : Half -> double
Public Shared Narrowing Operator CType (value As Half) As Double

Parametrar

value
Half

Flyttalsvärdet med halv precision som ska konverteras till Double.

Returer

Representationen Double av den angivna flyttal valuemed halv precision .

Gäller för