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