Fixed Point Maths

version 5 by Michael Callaghan

  • Home page
  • Beginning
  • Previous
  • Next



  • Section 2 - Factorial

    To decide which number is the factorial of (N - a number):
        let temp be N;
        let result be 1;
        if temp is not 1:
            let temp1 be the factorial of (temp - 1);
            let result be temp times temp1;
        decide on result.