Edit

Share via


NFloat.Implicit Operator

Definition

Overloads

Implicit(UIntPtr to NFloat)

Implicitly converts a UIntPtr value to its nearest representable native-sized floating-point value.

Implicit(UInt64 to NFloat)

Implicitly converts a UInt64 value to its nearest representable native-sized floating-point value.

Implicit(UInt32 to NFloat)

Implicitly converts a UInt32 value to its nearest representable native-sized floating-point value.

Implicit(UInt16 to NFloat)

Implicitly converts a UInt16 value to its nearest representable native-sized floating-point value.

Implicit(Single to NFloat)

Implicitly converts a Single value to its nearest representable native-sized floating-point value.

Implicit(SByte to NFloat)

Implicitly converts a SByte value to its nearest representable native-sized floating-point value.

Implicit(NFloat to Double)

Implicitly converts a native-sized floating-point value to its nearest representable Double value.

Implicit(Int64 to NFloat)

Implicitly converts a Int64 value to its nearest representable native-sized floating-point value.

Implicit(Int32 to NFloat)

Implicitly converts a Int32 value to its nearest representable native-sized floating-point value.

Implicit(Int16 to NFloat)

Implicitly converts a Int16 value to its nearest representable native-sized floating-point value.

Implicit(Half to NFloat)

Implicitly converts a Half value to its nearest representable native-sized floating-point value.

Implicit(Char to NFloat)

Implicitly converts a Char value to its nearest representable native-sized floating-point value.

Implicit(Byte to NFloat)

Implicitly converts a Byte value to its nearest representable native-sized floating-point value.

Implicit(IntPtr to NFloat)

Implicitly converts a IntPtr value to its nearest representable native-sized floating-point value.

Implicit(UIntPtr to NFloat)

Source:
NFloat.cs
Source:
NFloat.cs
Source:
NFloat.cs

Important

This API is not CLS-compliant.

Implicitly converts a UIntPtr value to its nearest representable native-sized floating-point value.

public:
 static operator System::Runtime::InteropServices::NFloat(UIntPtr value);
[System.CLSCompliant(false)]
public static implicit operator System.Runtime.InteropServices.NFloat (UIntPtr value);
[<System.CLSCompliant(false)>]
static member op_Implicit : unativeint -> System.Runtime.InteropServices.NFloat
Public Shared Widening Operator CType (value As UIntPtr) As NFloat

Parameters

value
UIntPtr

unativeint

The value to convert.

Returns

value converted to its nearest representable native-sized floating-point value.

Attributes

Applies to

Implicit(UInt64 to NFloat)

Source:
NFloat.cs
Source:
NFloat.cs
Source:
NFloat.cs

Important

This API is not CLS-compliant.

Implicitly converts a UInt64 value to its nearest representable native-sized floating-point value.

public:
 static operator System::Runtime::InteropServices::NFloat(System::UInt64 value);
[System.CLSCompliant(false)]
public static implicit operator System.Runtime.InteropServices.NFloat (ulong value);
[<System.CLSCompliant(false)>]
static member op_Implicit : uint64 -> System.Runtime.InteropServices.NFloat
Public Shared Widening Operator CType (value As ULong) As NFloat

Parameters

value
UInt64

The value to convert.

Returns

value converted to its nearest representable native-sized floating-point value.

Attributes

Applies to

Implicit(UInt32 to NFloat)

Source:
NFloat.cs
Source:
NFloat.cs
Source:
NFloat.cs

Important

This API is not CLS-compliant.

Implicitly converts a UInt32 value to its nearest representable native-sized floating-point value.

public:
 static operator System::Runtime::InteropServices::NFloat(System::UInt32 value);
[System.CLSCompliant(false)]
public static implicit operator System.Runtime.InteropServices.NFloat (uint value);
[<System.CLSCompliant(false)>]
static member op_Implicit : uint32 -> System.Runtime.InteropServices.NFloat
Public Shared Widening Operator CType (value As UInteger) As NFloat

Parameters

value
UInt32

The value to convert.

Returns

value converted to its nearest representable native-sized floating-point value.

Attributes

Applies to

Implicit(UInt16 to NFloat)

Source:
NFloat.cs
Source:
NFloat.cs
Source:
NFloat.cs

Important

This API is not CLS-compliant.

Implicitly converts a UInt16 value to its nearest representable native-sized floating-point value.

public:
 static operator System::Runtime::InteropServices::NFloat(System::UInt16 value);
[System.CLSCompliant(false)]
public static implicit operator System.Runtime.InteropServices.NFloat (ushort value);
[<System.CLSCompliant(false)>]
static member op_Implicit : uint16 -> System.Runtime.InteropServices.NFloat
Public Shared Widening Operator CType (value As UShort) As NFloat

Parameters

value
UInt16

The value to convert.

Returns

value converted to its nearest representable native-sized floating-point value.

Attributes

Applies to

Implicit(Single to NFloat)

Source:
NFloat.cs
Source:
NFloat.cs
Source:
NFloat.cs

Implicitly converts a Single value to its nearest representable native-sized floating-point value.

public:
 static operator System::Runtime::InteropServices::NFloat(float value);
public static implicit operator System.Runtime.InteropServices.NFloat (float value);
static member op_Implicit : single -> System.Runtime.InteropServices.NFloat
Public Shared Widening Operator CType (value As Single) As NFloat

Parameters

value
Single

The value to convert.

Returns

value converted to its nearest representable native-sized floating-point value.

Applies to

Implicit(SByte to NFloat)

Source:
NFloat.cs
Source:
NFloat.cs
Source:
NFloat.cs

Important

This API is not CLS-compliant.

Implicitly converts a SByte value to its nearest representable native-sized floating-point value.

public:
 static operator System::Runtime::InteropServices::NFloat(System::SByte value);
[System.CLSCompliant(false)]
public static implicit operator System.Runtime.InteropServices.NFloat (sbyte value);
[<System.CLSCompliant(false)>]
static member op_Implicit : sbyte -> System.Runtime.InteropServices.NFloat
Public Shared Widening Operator CType (value As SByte) As NFloat

Parameters

value
SByte

The value to convert.

Returns

value converted to its nearest representable native-sized floating-point value.

Attributes

Applies to

Implicit(NFloat to Double)

Source:
NFloat.cs
Source:
NFloat.cs
Source:
NFloat.cs

Implicitly converts a native-sized floating-point value to its nearest representable Double value.

public:
 static operator double(System::Runtime::InteropServices::NFloat value);
public static implicit operator double (System.Runtime.InteropServices.NFloat value);
static member op_Implicit : System.Runtime.InteropServices.NFloat -> double
Public Shared Widening Operator CType (value As NFloat) As Double

Parameters

value
NFloat

The value to convert.

Returns

value converted to its nearest representable Double value.

Applies to

Implicit(Int64 to NFloat)

Source:
NFloat.cs
Source:
NFloat.cs
Source:
NFloat.cs

Implicitly converts a Int64 value to its nearest representable native-sized floating-point value.

public:
 static operator System::Runtime::InteropServices::NFloat(long value);
public static implicit operator System.Runtime.InteropServices.NFloat (long value);
static member op_Implicit : int64 -> System.Runtime.InteropServices.NFloat
Public Shared Widening Operator CType (value As Long) As NFloat

Parameters

value
Int64

The value to convert.

Returns

value converted to its nearest representable native-sized floating-point value.

Applies to

Implicit(Int32 to NFloat)

Source:
NFloat.cs
Source:
NFloat.cs
Source:
NFloat.cs

Implicitly converts a Int32 value to its nearest representable native-sized floating-point value.

public:
 static operator System::Runtime::InteropServices::NFloat(int value);
public static implicit operator System.Runtime.InteropServices.NFloat (int value);
static member op_Implicit : int -> System.Runtime.InteropServices.NFloat
Public Shared Widening Operator CType (value As Integer) As NFloat

Parameters

value
Int32

The value to convert.

Returns

value converted to its nearest representable native-sized floating-point value.

Applies to

Implicit(Int16 to NFloat)

Source:
NFloat.cs
Source:
NFloat.cs
Source:
NFloat.cs

Implicitly converts a Int16 value to its nearest representable native-sized floating-point value.

public:
 static operator System::Runtime::InteropServices::NFloat(short value);
public static implicit operator System.Runtime.InteropServices.NFloat (short value);
static member op_Implicit : int16 -> System.Runtime.InteropServices.NFloat
Public Shared Widening Operator CType (value As Short) As NFloat

Parameters

value
Int16

The value to convert.

Returns

value converted to its nearest representable native-sized floating-point value.

Applies to

Implicit(Half to NFloat)

Source:
NFloat.cs
Source:
NFloat.cs
Source:
NFloat.cs

Implicitly converts a Half value to its nearest representable native-sized floating-point value.

public:
 static operator System::Runtime::InteropServices::NFloat(Half value);
public static implicit operator System.Runtime.InteropServices.NFloat (Half value);
static member op_Implicit : Half -> System.Runtime.InteropServices.NFloat
Public Shared Widening Operator CType (value As Half) As NFloat

Parameters

value
Half

The value to convert.

Returns

value converted to its nearest representable native-sized floating-point value.

Applies to

Implicit(Char to NFloat)

Source:
NFloat.cs
Source:
NFloat.cs
Source:
NFloat.cs

Implicitly converts a Char value to its nearest representable native-sized floating-point value.

public:
 static operator System::Runtime::InteropServices::NFloat(char value);
public static implicit operator System.Runtime.InteropServices.NFloat (char value);
static member op_Implicit : char -> System.Runtime.InteropServices.NFloat
Public Shared Widening Operator CType (value As Char) As NFloat

Parameters

value
Char

The value to convert.

Returns

value converted to its nearest representable native-sized floating-point value.

Applies to

Implicit(Byte to NFloat)

Source:
NFloat.cs
Source:
NFloat.cs
Source:
NFloat.cs

Implicitly converts a Byte value to its nearest representable native-sized floating-point value.

public:
 static operator System::Runtime::InteropServices::NFloat(System::Byte value);
public static implicit operator System.Runtime.InteropServices.NFloat (byte value);
static member op_Implicit : byte -> System.Runtime.InteropServices.NFloat
Public Shared Widening Operator CType (value As Byte) As NFloat

Parameters

value
Byte

The value to convert.

Returns

value converted to its nearest representable native-sized floating-point value.

Applies to

Implicit(IntPtr to NFloat)

Source:
NFloat.cs
Source:
NFloat.cs
Source:
NFloat.cs

Implicitly converts a IntPtr value to its nearest representable native-sized floating-point value.

public:
 static operator System::Runtime::InteropServices::NFloat(IntPtr value);
public static implicit operator System.Runtime.InteropServices.NFloat (IntPtr value);
static member op_Implicit : nativeint -> System.Runtime.InteropServices.NFloat
Public Shared Widening Operator CType (value As IntPtr) As NFloat

Parameters

value
IntPtr

nativeint

The value to convert.

Returns

value converted to its nearest representable native-sized floating-point value.

Applies to