question: private static byte expectedNorm ( final ClassicSimilarity sim , final int length , final float boost ) { return ( byte ) sim . encodeNormValue ( boost / ( ( float ) Math . sqrt ( length ) ) ) ; }
target:  Given a length, and boost returns the expected encoded norm 