$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: John Maddock (john_at_[hidden])
Date: 2008-04-30 04:34:20
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.