Fixed Point Maths

version 5 by Michael Callaghan

  • Home page
  • Beginning
  • Previous
  • Next



  • Section 5 - Absolute value of a number (converts negatives to positives)

    To decide which number is the absolute value of (N - a number):
        if N is less than 0:
            let N be 0 minus N;
        decide on N.