I read the article about the scoring section in lucene as follows:
Encoding and decoding of the resulted float norm in a single byte are done by the static methods of the class Similarity:encodeNorm() <http://lucene.apache.org/core/3_6_1/api/core/org/apache/lucene/search/Similarity.html#encodeNorm%28float%29>anddecodeNorm() <http://lucene.apache.org/core/3_6_1/api/core/org/apache/lucene/search/Similarity.html#decodeNorm%28byte%29>. Due to loss of precision, it is not guaranteed that decode(encode(x)) = x, e.g. decode(encode(0.89)) = 0.75. At scoring (search) time, this norm is brought into the score of document as*norm(t, d)*, as shown by the formula inSimilarity <http://lucene.apache.org/core/3_6_1/api/core/org/apache/lucene/search/Similarity.html>.
I can not understand the formula decode(encode(0.89)) = 0.75 how can i get the 0.75 from the left. Is anyone can help me ? thanks ahead! andrew