Half |
The HalfType type exposes the following members.
| Name | Description | |
|---|---|---|
| Abs | Returns the absolute value of a half-precision floating-point number. | |
| Add | Adds two specified System.Half values. | |
| CompareTo(HalfType) | Compares this instance to a specified System.Half object. | |
| CompareTo(Object) | Compares this instance to a specified System.Object. | |
| Divide | Divides two specified System.Half values. | |
| Equals(HalfType) | Returns a value indicating whether this instance and a specified System.Half object represent the same value. | |
| Equals(Object) |
Returns a value indicating whether this instance and a specified System.Object
represent the same type and value.
(Overrides ValueTypeEquals(Object)) | |
| GetBits | Converts the value of a specified instance of System.Half to its equivalent binary representation. | |
| GetBytes | Returns the specified half-precision floating point value as an array of bytes. | |
| GetHashCode |
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| GetTypeCode | Returns the System.TypeCode for value type System.Half. | |
| IsInfinity | Returns a value indicating whether the specified number evaluates to negative or positive infinity. | |
| IsNaN | Returns a value indicating whether the specified number evaluates to not a number (System.Half.NaN). | |
| IsNegativeInfinity | Returns a value indicating whether the specified number evaluates to negative infinity. | |
| IsPositiveInfinity | Returns a value indicating whether the specified number evaluates to positive infinity. | |
| Max | Returns the larger of two half-precision floating-point numbers. | |
| Min | Returns the smaller of two half-precision floating-point numbers. | |
| Multiply | Multiplies two specified System.Half values. | |
| Negate | Returns the result of multiplying the specified System.Half value by negative one. | |
| PackTwoHalfsToFloat(HalfType, HalfType) | ||
| PackTwoHalfsToFloat(Single, Single) | ||
| Parse(String) | Converts the string representation of a number to its System.Half equivalent. | |
| Parse(String, NumberStyles) | Converts the string representation of a number in a specified style to its System.Half equivalent. | |
| Parse(String, IFormatProvider) | Converts the string representation of a number to its System.Half equivalent using the specified culture-specific format information. | |
| Parse(String, NumberStyles, IFormatProvider) | Converts the string representation of a number to its System.Half equivalent using the specified style and culture-specific format. | |
| Sign | Returns a value indicating the sign of a half-precision floating-point number. | |
| Subtract | Subtracts one specified System.Half value from another. | |
| ToHalf(UInt16) | Returns a half-precision floating point number converted from its binary representation. | |
| ToHalf(Byte, Int32) | Returns a half-precision floating point number converted from two bytes at a specified position in a byte array. | |
| ToString |
Converts the numeric value of this instance to its equivalent string representation.
(Overrides ValueTypeToString) | |
| ToString(IFormatProvider) | Converts the numeric value of this instance to its equivalent string representation using the specified culture-specific format information. | |
| ToString(String) | Converts the numeric value of this instance to its equivalent string representation, using the specified format. | |
| ToString(String, IFormatProvider) | Converts the numeric value of this instance to its equivalent string representation using the specified format and culture-specific format information. | |
| TryParse(String, HalfType) | Converts the string representation of a number to its System.Half equivalent. A return value indicates whether the conversion succeeded or failed. | |
| TryParse(String, NumberStyles, IFormatProvider, HalfType) | Converts the string representation of a number to its System.Half equivalent using the specified style and culture-specific format. A return value indicates whether the conversion succeeded or failed. |
| Name | Description | |
|---|---|---|
| MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx) | |
| PropertyGet |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertyGetT |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx) |