Apache Lucene.Net 2.4.0 Class Library API

SmallFloat Members

SmallFloat overview

Public Static Methods

Byte315ToFloatbyteToFloat(b, mantissaBits=3, zeroExponent=15)
Byte52ToFloatbyteToFloat(b, mantissaBits=5, zeroExponent=2)
ByteToFloatConverts an 8 bit float to a 32 bit float.
FloatToByte 
FloatToByte315 
FloatToByte52 

Public Instance Constructors

SmallFloat Constructor Initializes a new instance of the SmallFloat class.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

SmallFloat Class | Lucene.Net.Util Namespace