Message236717
We can further optimize _divide_and_round by changing r*=2 to r<<=1 and q % 2 == 1 to (q & 1), but this will obfuscate the algorithm and limit arguments to ints. (As written, _divide_and_round will work with any numeric types.) |
|
Date |
User |
Action |
Args |
2015-02-26 23:27:06 | belopolsky | set | recipients:
+ belopolsky, mark.dickinson, benjamin.peterson, serhiy.storchaka, bdkearns |
2015-02-26 23:27:06 | belopolsky | set | messageid: <1424993226.75.0.327154390569.issue23521@psf.upfronthosting.co.za> |
2015-02-26 23:27:06 | belopolsky | link | issue23521 messages |
2015-02-26 23:27:06 | belopolsky | create | |
|