<br><div class="gmail_quote">On Mon, Dec 5, 2011 at 4:14 PM, Nick Coghlan <span dir="ltr"><<a href="mailto:ncoghlan@gmail.com">ncoghlan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im"><br></div>
I'd be OK with dropping the explicit 'twos' qualifier, though - then<br>
the method name could just be "to_complement()".<br></blockquote><div><br></div><div>That name's ambiguous since there's also one's complement as well as ten's and nine's complements. </div>

<div><br></div><div>Also, perhaps from_twos_complement might be a clearer name than to_signed.</div></div><div><br clear="all"><font face="arial, helvetica, sans-serif">--- Bruce</font><div><font face="arial, helvetica, sans-serif">Follow me: <a href="http://www.twitter.com/Vroo" target="_blank">http://www.twitter.com/Vroo</a> <a href="http://www.vroospeak.com/" target="_blank">http://www.vroospeak.com</a></font></div>

<div><font face="arial, helvetica, sans-serif"><br></font></div><br></div>