Message77918
| Author |
skip.montanaro |
| Recipients |
fredrikj, loewis, mark.dickinson, pitrou, rhettinger, skip.montanaro, terry.reedy, vstinner |
| Date |
2008年12月16日.18:33:18 |
| SpamBayes Score |
2.576595e-06 |
| Marked as misclassified |
No |
| Message-id |
<1229452400.39.0.130886056827.issue3439@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Regarding the last few posts:
* Raymond's implementation, while ugly, provides a completely orthogonal
way to test compute numbits, useful in unit tests if nothing else.
* Using x >> 1 in a reference implementation is perfectly reasonable.
If the person using the reference implementation to produce a real
C-based implementation doesn't understand the equivalence of x // 2
and x >> 1, heaven help us.
Skip |
|