HalfType Operators and Type Conversions |
The HalfType type exposes the following members.
Name | Description | |
---|---|---|
Addition |
Adds two specified System.Half values.
| |
Decrement |
Decrements the System.Half operand by one.
| |
Division |
Divides two specified System.Half values.
| |
Equality |
Returns a value indicating whether two instances of System.Half are equal.
| |
(Decimal to HalfType) |
Converts a decimal number to a System.Half.
| |
(Double to HalfType) |
Converts a double-precision floating-point number to a System.Half.
| |
(Single to HalfType) |
Converts a single-precision floating-point number to a System.Half.
| |
(HalfType to Byte) |
Converts a System.Half to an 8-bit unsigned integer.
| |
(HalfType to Char) |
Converts a System.Half to a Unicode character.
| |
(HalfType to Int16) |
Converts a System.Half to a 16-bit signed integer.
| |
(HalfType to Int32) |
Converts a System.Half to a 32-bit signed integer.
| |
(HalfType to Int64) |
Converts a System.Half to a 64-bit signed integer.
| |
(HalfType to Decimal) |
Converts a System.Half to a decimal number.
| |
(HalfType to SByte) |
Converts a System.Half to an 8-bit signed integer.
| |
(HalfType to UInt16) |
Converts a System.Half to a 16-bit unsigned integer.
| |
(HalfType to UInt32) |
Converts a System.Half to a 32-bit unsigned integer.
| |
(HalfType to UInt64) |
Converts a System.Half to a 64-bit unsigned integer.
| |
GreaterThan |
Returns a value indicating whether a specified System.Half is greater than another specified System.Half.
| |
GreaterThanOrEqual |
Returns a value indicating whether a specified System.Half is greater than or equal to another specified System.Half.
| |
(Byte to HalfType) |
Converts an 8-bit unsigned integer to a System.Half.
| |
(Char to HalfType) |
Converts a Unicode character to a System.Half.
| |
(Int16 to HalfType) |
Converts a 16-bit signed integer to a System.Half.
| |
(Int32 to HalfType) |
Converts a 32-bit signed integer to a System.Half.
| |
(Int64 to HalfType) |
Converts a 64-bit signed integer to a System.Half.
| |
(SByte to HalfType) |
Converts an 8-bit signed integer to a System.Half.
| |
(UInt16 to HalfType) |
Converts a 16-bit unsigned integer to a System.Half.
| |
(UInt32 to HalfType) |
Converts a 32-bit unsigned integer to a System.Half.
| |
(UInt64 to HalfType) |
Converts a 64-bit unsigned integer to a System.Half.
| |
(HalfType to Single) |
Converts a System.Half to a single-precision floating-point number.
| |
(HalfType to Double) |
Converts a System.Half to a double-precision floating-point number.
| |
Increment |
Increments the System.Half operand by 1.
| |
Inequality |
Returns a value indicating whether two instances of System.Half are not equal.
| |
LessThan |
Returns a value indicating whether a specified System.Half is less than another specified System.Half.
| |
LessThanOrEqual |
Returns a value indicating whether a specified System.Half is less than or equal to another specified System.Half.
| |
Multiply |
Multiplies two specified System.Half values.
| |
Subtraction |
Subtracts two specified System.Half values.
| |
UnaryNegation |
Negates the value of the specified System.Half operand.
| |
UnaryPlus |
Returns the value of the System.Half operand (the sign of the operand is unchanged).
|