Qualcomm Interview Question

fix point calculations