MHN
Add a comment on Hacker News →
1 of 99 comments
  1. To make it positive and to amplify it (as a side-effect).

    BTW, "error" is a misleading term - it communicates some fault, at least in the common sense. Distance would be much better term.

    So, "squared distance" makes much more sense, because negative distance is nonsense.