floatToByte(b, mantissaBits=3, zeroExponent=15)
smallest non-zero value = 5.820766E-10
largest value = 7.5161928E9
epsilon = 0.125

Namespace: Lucene.Net.Util
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public static sbyte FloatToByte315(
	float f
)
Visual Basic
Public Shared Function FloatToByte315 ( _
	f As Single _
) As SByte
Visual C++
public:
static signed char FloatToByte315(
	float f
)

Parameters

f
Type: System..::..Single

[Missing <param name="f"/> documentation for "M:Lucene.Net.Util.SmallFloat.FloatToByte315(System.Single)"]

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Util.SmallFloat.FloatToByte315(System.Single)"]

See Also