/// <summary> /// Decodes a previously encoded <see cref="float"/>. /// <para/> /// NOTE: This was bytesRefToFloat() in Lucene /// </summary> public static float BytesRefToSingle(BytesRef b) { return(J2N.BitConversion.Int32BitsToSingle(Int32AssociationFacetField.BytesRefToInt32(b))); }
/// <summary> /// Decodes a previously encoded <see cref="float"/>. /// <para/> /// NOTE: This was bytesRefToFloat() in Lucene /// </summary> public static float BytesRefToSingle(BytesRef b) { return(Support.Number.Int32BitsToSingle(Int32AssociationFacetField.BytesRefToInt32(b))); }