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