Robert Griesemer
78b0013a07
- changed general div/mod implementation to a faster algorithm
...
(operates on 30bit values at a time instead of 20bit values)
- refactored and cleaned up lots of code
- more tests
- close to check-in as complete library
R=r
OCL=18326
CL=18326
2008-11-03 09:21:10 -08:00
Robert Griesemer
db27d309d1
- gcd, exponentiation, population count
...
- more rational numbers stuff
- more tests
R=r
OCL=18295
CL=18295
2008-10-31 16:58:56 -07:00
Robert Griesemer
00dc6e9678
- fixed another test (arithmetic vs. logic shift bug)
...
R=r
OCL=18235
CL=18237
2008-10-31 10:52:59 -07:00
Robert Griesemer
afad827255
- div and mod (arbitrary precision)
...
- more tests
- some global renames
R=r
OCL=18219
CL=18219
2008-10-30 23:37:34 -07:00
Robert Griesemer
7112dc1db7
- implemented Shr
...
- removed shift work-arounds (6g code appears to work now)
- made similar routines more regular in structure
- more tests
R=r
OCL=18102
CL=18102
2008-10-29 22:05:42 -07:00
Robert Griesemer
276ffd297d
- added shl operation, extra tests
...
- fixed code so it works with any base between 9 and 64
- work-around for 6g shift problems in various places
R=r
OCL=18080
CL=18080
2008-10-29 16:48:53 -07:00
Robert Griesemer
379b5a3921
- steps towards implementation of div and mod
...
- string conversion in different bases
- tracked down a 6g bug, use work-around for now
R=r
OCL=17981
CL=17981
2008-10-28 18:42:26 -07:00
Robert Griesemer
1daad03545
- bug fixes, cleanups
...
- integer string conversion
R=r
OCL=17923
CL=17923
2008-10-27 17:57:31 -07:00
Robert Griesemer
2e777b44b8
- created staging area for getting bignum package up-to-speed again,
...
now using up-to-date language features
- moved old code away from pkg (defunct anyway because of language changes)
R=r
OCL=17916
CL=17916
2008-10-27 15:44:32 -07:00