Archives

Show All

  • 2010
  • 2009
  • 2008
  • 2007
    • November
    • October
    • September
      • Fixed Point Arithmetic
        09/28/07

        It is always said that dealing with floating point numbers is slow. So slow that if precision can be compromised and speed is more important, programmers will use integers instead. Integers ? yes ! But how will you deal with fractions then ? The answer is fixed point arithmetic.

        When we d

      • Microsoft Word 2003 and Typing on Selection Behaviour
        09/25/07

        I selected a range of text to replace in Microsoft Word 2003, and then started typing. But instead of the selected text replaced with the newly typed text, the selection was just cancelled and what I typed was inserted. Well, certainly I did not expect this to happen. Curious with what was happening

      • How to Compute the Reciprocal of A Value
        09/17/07

        Have you ever thought how your calculator computes the result when you press the "1/x" button ? and have you ever thought how your computer computes the reciprocal ?

        Reciprocal of a value is a special case of a division, where the numerator is 1.0. In mathematical form, we can

      • Displaying Math in Web Page
        09/11/07

        I was about to post an algorithm which requires me to describe it with several math formulas, but then I was stuck since there is no easy and reliable way to display math in web pages using the HTML/CSS alone.

        Searching the web, I came across a javascript math displaying engine that loo