• Robert Griesemer's avatar
    big: use fast shift routines · 58e77990
    Robert Griesemer authored
    - fixed a couple of bugs in the process
      (shift right was incorrect for negative numbers)
    - added more tests and made some tests more robust
    - changed pidigits back to using shifts to multiply
      by 2 instead of add
    
      This improves pidigit -s -n 10000 by approx. 5%:
    
      user 0m6.496s (old)
      user 0m6.156s (new)
    
    R=rsc
    CC=golang-dev
    https://golang.org/cl/963044
    58e77990
Name
Last commit
Last update
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
pkg Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...