Method | Description | |
---|---|---|
HalfToSingle ( ushort half ) : float | ||
SingleToHalf ( float single ) : ushort |
Method | Description | |
---|---|---|
ConvertMantissa ( int i ) : uint | ||
GenerateBaseTable ( ) : ushort[] | ||
GenerateExponentTable ( ) : uint[] | ||
GenerateMantissaTable ( ) : uint[] | ||
GenerateOffsetTable ( ) : ushort[] | ||
GenerateShiftTable ( ) : sbyte[] |
public static HalfToSingle ( ushort half ) : float | ||
half | ushort | |
return | float |
public static SingleToHalf ( float single ) : ushort | ||
single | float | |
return | ushort |