Searched refs:num_mantissa_bits (Results 1 – 1 of 1) sorted by relevance
479 int num_mantissa_bits = primitive_util::SignificandWidth(value_type) - 1; in ConvertRandomBitsToUniformFloatingPoint() local484 bits, ScalarLike(bits, num_float_bits - num_mantissa_bits)); in ConvertRandomBitsToUniformFloatingPoint()492 values = values * ScalarLike(values, std::ldexp(1., -num_mantissa_bits)); in ConvertRandomBitsToUniformFloatingPoint()