
30 Apr
2008
30 Apr
'08
8:34 a.m.
Steven Watanabe wrote:
It's more intuitive to get the unsigned value from the signed than the other way around. std::abs(edit_distance(a, b))
vs.
copysign(edit_distance(a, b), b - a)
Yep, that's sort of the view I'm coming round to: even though I implemented it as returning an unsigned value initially :-( John.