Message148909
| Author |
pitrou |
| Recipients |
cvrebert, eric.smith, ncoghlan, pitrou |
| Date |
2011年12月06日.10:37:58 |
| SpamBayes Score |
0.05217997 |
| Marked as misclassified |
No |
| Message-id |
<1323167939.03.0.110784129797.issue13535@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Instead of requiring bit_length(), couldn't you simply compare self to 2**(bits-1) (for to_unsigned) and 2**bits (for to_signed)? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年12月06日 10:38:59 | pitrou | set | recipients:
+ pitrou, ncoghlan, eric.smith, cvrebert |
| 2011年12月06日 10:38:59 | pitrou | set | messageid: <1323167939.03.0.110784129797.issue13535@psf.upfronthosting.co.za> |
| 2011年12月06日 10:37:58 | pitrou | link | issue13535 messages |
| 2011年12月06日 10:37:58 | pitrou | create |
|