• Robert Griesemer's avatar
    big: completed set of Int division routines & cleanups · b9caa4ac
    Robert Griesemer authored
    - renamed Len -> BitLen, simplified implementation
    - renamed old Div, Mod, DivMod -> Que, Rem, QuoRem
    - implemented Div, Mod, DivMod (Euclidian definition, more
      useful in a mathematical context)
    - fixed a bug in Exp (-0 was possible)
    - added extra tests to check normalized results everywhere
    - uniformly set Int.neg flag at the end of computations
    - minor cosmetic cleanups
    - ran all tests
    
    R=rsc
    CC=golang-dev
    https://golang.org/cl/1091041
    b9caa4ac
Name
Last commit
Last update
..
aes Loading commit data...
block Loading commit data...
blowfish Loading commit data...
hmac Loading commit data...
md4 Loading commit data...
md5 Loading commit data...
rand Loading commit data...
rc4 Loading commit data...
ripemd160 Loading commit data...
rsa Loading commit data...
sha1 Loading commit data...
sha256 Loading commit data...
sha512 Loading commit data...
subtle Loading commit data...
tls Loading commit data...
x509 Loading commit data...
xtea Loading commit data...