quant-1 add quant arithmetic.