use fixed-point arithmetic