BitConverter.HalfToUInt16Bits(Half) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Important
This API is not CLS-compliant.
Converts the specified half-precision floating point number to a 16-bit unsigned integer.
public:
static System::UInt16 HalfToUInt16Bits(Half value);
[System.CLSCompliant(false)]
public static ushort HalfToUInt16Bits (Half value);
[<System.CLSCompliant(false)>]
static member HalfToUInt16Bits : Half -> uint16
Public Shared Function HalfToUInt16Bits (value As Half) As UShort
Parameters
- value
- Half
The number to convert.
Returns
A 16-bit unsigned integer whose bits are identical to value
.
- Attributes
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.