On Mon, Dec 5, 2011 at 4:14 PM, Nick Coghlan <ncoghlan@gmail.com> wrote:

I'd be OK with dropping the explicit 'twos' qualifier, though - then
the method name could just be "to_complement()".

That name's ambiguous since there's also one's complement as well as ten's and nine's complements. 

Also, perhaps from_twos_complement might be a clearer name than to_signed.

--- Bruce
Follow me: http://www.twitter.com/Vroo http://www.vroospeak.com