Class SmallSingle
Floating point numbers smaller than 32 bits.
NOTE: This was SmallFloat in Lucene
@lucene.internal
Inheritance
Assembly: DistributedLucene.Net.dll
Syntax
public class SmallSingle : object
Methods
Name | Description |
---|---|
Byte315ToSingle(Byte) | ByteToSingle(b, mantissaBits=3, zeroExponent=15) NOTE: This was byte315ToFloat() in Lucene |
Byte52ToSingle(Byte) | ByteToFloat(b, mantissaBits=5, zeroExponent=2) NOTE: This was byte52ToFloat() in Lucene |
ByteToSingle(Byte, Int32, Int32) | Converts an 8 bit NOTE: This was byteToFloat() in Lucene |
SByte315ToSingle(SByte) | SByteToSingle(b, mantissaBits=3, zeroExponent=15) NOTE: This was byte315ToFloat() in Lucene |
SByte52ToSingle(SByte) | SByteToFloat(b, mantissaBits=5, zeroExponent=2) NOTE: This was byte52ToFloat() in Lucene |
SByteToSingle(SByte, Int32, Int32) | Converts an 8 bit NOTE: This was byteToFloat() in Lucene |
SingleToByte(Single, Int32, Int32) | Converts a 32 bit Values less than zero are all mapped to zero. Values are truncated (rounded down) to the nearest 8 bit value. Values between zero and the smallest representable value are rounded up. |
SingleToByte315(Single) | SingleToSByte((byte)b, mantissaBits=3, zeroExponent=15) smallest non-zero value = 5.820766E-10 largest value = 7.5161928E9 epsilon = 0.125 NOTE: This was floatToByte315() in Lucene |
SingleToByte52(Single) | SingleToByte(b, mantissaBits=5, zeroExponent=2) smallest nonzero value = 0.033203125 largest value = 1984.0 epsilon = 0.03125 NOTE: This was floatToByte52() in Lucene |
SingleToSByte(Single, Int32, Int32) | Converts a 32 bit Values less than zero are all mapped to zero. Values are truncated (rounded down) to the nearest 8 bit value. Values between zero and the smallest representable value are rounded up. NOTE: This was floatToByte() in Lucene |
SingleToSByte315(Single) | SingleToSByte(b, mantissaBits=3, zeroExponent=15) smallest non-zero value = 5.820766E-10 largest value = 7.5161928E9 epsilon = 0.125 NOTE: This was floatToByte315() in Lucene |
SingleToSByte52(Single) | SingleToSByte(b, mantissaBits=5, zeroExponent=2) smallest nonzero value = 0.033203125 largest value = 1984.0 epsilon = 0.03125 NOTE: This was floatToByte52() in Lucene |