Changed quantization result type to fit the standard precision requirements.