Fixed-point arithmetic