Fixed Point Maths

version 5 by Michael Callaghan

  • Home page
  • Beginning
  • Previous
  • Next



  • Section 4 - Deciding if a fixed point number is negative

    To decide if (N - a real number) is negative:
        if the whole part of N is less than 0:
            decide yes;
        if the fractional part of N is less than 0:
            decide yes;
        decide no.