Click or drag to resize

HalfType Operators and Type Conversions

The HalfType type exposes the following members.

Operators
  NameDescription
Public operatorStatic memberAddition
Adds two specified System.Half values.
Public operatorStatic memberDecrement
Decrements the System.Half operand by one.
Public operatorStatic memberDivision
Divides two specified System.Half values.
Public operatorStatic memberEquality
Returns a value indicating whether two instances of System.Half are equal.
Public operatorStatic member(Decimal to HalfType)
Converts a decimal number to a System.Half.
Public operatorStatic member(Double to HalfType)
Converts a double-precision floating-point number to a System.Half.
Public operatorStatic member(Single to HalfType)
Converts a single-precision floating-point number to a System.Half.
Public operatorStatic member(HalfType to Byte)
Converts a System.Half to an 8-bit unsigned integer.
Public operatorStatic member(HalfType to Char)
Converts a System.Half to a Unicode character.
Public operatorStatic member(HalfType to Int16)
Converts a System.Half to a 16-bit signed integer.
Public operatorStatic member(HalfType to Int32)
Converts a System.Half to a 32-bit signed integer.
Public operatorStatic member(HalfType to Int64)
Converts a System.Half to a 64-bit signed integer.
Public operatorStatic member(HalfType to Decimal)
Converts a System.Half to a decimal number.
Public operatorStatic member(HalfType to SByte)
Converts a System.Half to an 8-bit signed integer.
Public operatorStatic member(HalfType to UInt16)
Converts a System.Half to a 16-bit unsigned integer.
Public operatorStatic member(HalfType to UInt32)
Converts a System.Half to a 32-bit unsigned integer.
Public operatorStatic member(HalfType to UInt64)
Converts a System.Half to a 64-bit unsigned integer.
Public operatorStatic memberGreaterThan
Returns a value indicating whether a specified System.Half is greater than another specified System.Half.
Public operatorStatic memberGreaterThanOrEqual
Returns a value indicating whether a specified System.Half is greater than or equal to another specified System.Half.
Public operatorStatic member(Byte to HalfType)
Converts an 8-bit unsigned integer to a System.Half.
Public operatorStatic member(Char to HalfType)
Converts a Unicode character to a System.Half.
Public operatorStatic member(Int16 to HalfType)
Converts a 16-bit signed integer to a System.Half.
Public operatorStatic member(Int32 to HalfType)
Converts a 32-bit signed integer to a System.Half.
Public operatorStatic member(Int64 to HalfType)
Converts a 64-bit signed integer to a System.Half.
Public operatorStatic member(SByte to HalfType)
Converts an 8-bit signed integer to a System.Half.
Public operatorStatic member(UInt16 to HalfType)
Converts a 16-bit unsigned integer to a System.Half.
Public operatorStatic member(UInt32 to HalfType)
Converts a 32-bit unsigned integer to a System.Half.
Public operatorStatic member(UInt64 to HalfType)
Converts a 64-bit unsigned integer to a System.Half.
Public operatorStatic member(HalfType to Single)
Converts a System.Half to a single-precision floating-point number.
Public operatorStatic member(HalfType to Double)
Converts a System.Half to a double-precision floating-point number.
Public operatorStatic memberIncrement
Increments the System.Half operand by 1.
Public operatorStatic memberInequality
Returns a value indicating whether two instances of System.Half are not equal.
Public operatorStatic memberLessThan
Returns a value indicating whether a specified System.Half is less than another specified System.Half.
Public operatorStatic memberLessThanOrEqual
Returns a value indicating whether a specified System.Half is less than or equal to another specified System.Half.
Public operatorStatic memberMultiply
Multiplies two specified System.Half values.
Public operatorStatic memberSubtraction
Subtracts two specified System.Half values.
Public operatorStatic memberUnaryNegation
Negates the value of the specified System.Half operand.
Public operatorStatic memberUnaryPlus
Returns the value of the System.Half operand (the sign of the operand is unchanged).
Top
See Also