Fixed Point Maths

version 5 by Michael Callaghan

  • Home page
  • Beginning
  • Previous
  • Next



  • Section 3 - Less than

    To decide if (A - a real number) is real less than (B - a real number):
        let temp1 be the aggregate of A;
        let temp2 be the aggregate of B;
        if temp1 is less than temp2:
            decide yes;
        decide no.

    To decide if (A - a number) is real less than (B - a real number):
        let temp be A as a fixed point number;
        if temp is real less than B:
            decide yes;
        decide no.

    To decide if (A - a real number) is real less than (B - a number):
        let temp be B as a fixed point number;
        if A is real less than temp:
            decide yes;
        decide no.