Converts an 8 bit float to a 32 bit float.
Namespace: Lucene.Net.UtilAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public static float ByteToFloat( byte b, int numMantissaBits, int zeroExp ) |
Visual Basic |
---|
Public Shared Function ByteToFloat ( _ b As Byte, _ numMantissaBits As Integer, _ zeroExp As Integer _ ) As Single |
Visual C++ |
---|
public: static float ByteToFloat( unsigned char b, int numMantissaBits, int zeroExp ) |
Parameters
- b
- Type: System..::..Byte
[Missing <param name="b"/> documentation for "M:Lucene.Net.Util.SmallFloat.ByteToFloat(System.Byte,System.Int32,System.Int32)"]
- numMantissaBits
- Type: System..::..Int32
[Missing <param name="numMantissaBits"/> documentation for "M:Lucene.Net.Util.SmallFloat.ByteToFloat(System.Byte,System.Int32,System.Int32)"]
- zeroExp
- Type: System..::..Int32
[Missing <param name="zeroExp"/> documentation for "M:Lucene.Net.Util.SmallFloat.ByteToFloat(System.Byte,System.Int32,System.Int32)"]
Return Value
[Missing <returns> documentation for "M:Lucene.Net.Util.SmallFloat.ByteToFloat(System.Byte,System.Int32,System.Int32)"]