Method SingleToByte52
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
Declaration
public static byte SingleToByte52(float f)
Parameters
Type | Name | Description |
---|---|---|
System.Single | f |
Returns
Type | Description |
---|---|
System.Byte |