Searched refs:ONE_FLOAT (Results 1 – 2 of 2) sorted by relevance
27 #define ONE_FLOAT ((float) (1 << (MANTISSA_BITS + 1))) macro51 int mantissa = (int) (r * ONE_FLOAT); in gain_from_float()60 return ldexpf((exponent > 0 ? HIDDEN_BIT | mantissa : mantissa << 1) / ONE_FLOAT, in float_from_gain()
33 #define ONE_FLOAT ((float) (1 << (MANTISSA_BITS + 1))) macro69 int mantissa = (int) (r * ONE_FLOAT); in sample_from_float()80 float f = ldexpf((exponent > 0 ? HIDDEN_BIT | mantissa : mantissa << 1) / ONE_FLOAT, in float_from_sample()