# Fixed Point Maths

## version 5 by Michael Callaghan

**Chapter 5 - Addition****Section 1 - Addition of two fixed point numbers**

To decide which real number is (A - a real number) real plus (B - a real number):

let temp be the aggregate of A plus the aggregate of B;

let result_int be the greater part of temp;

let result_dec be the lesser part of temp;

let result be the real number with whole part result_int fractional part result_dec;

decide on result.