Re:Coding Horror: Should Competent Programmers be "Mathemati...
by palish on Wednesday April 01, 2009 @11:16PM
(#542851)
Ahh, yes. Good catch. In the algorithm, simply clamp AQ_len to be >= 0.0 and <= AB_len. (Notice that you compute AB_len as a side effect of normalizing AB.)
[ Parent
| on HN ]
There are no comments on this comment yet.