summaryrefslogtreecommitdiff
path: root/usr/gri/bignum/bignum.go
AgeCommit message (Collapse)AuthorFilesLines
2008-11-04install bignum as libraryRobert Griesemer1-1257/+0
R=r DELTA=3501 (1752 added, 1749 deleted, 0 changed) OCL=18460 CL=18471
2008-11-04- better support for string conversionsRobert Griesemer1-33/+45
- removed trailing tabs R=r OCL=18458 CL=18458
2008-11-04- completed integer support (some logical functions missing)Robert Griesemer1-369/+637
- completed rational support - better documentation - more tests - cleanups R=r OCL=18438 CL=18438
2008-11-03- changed general div/mod implementation to a faster algorithmRobert Griesemer1-233/+324
(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-10-31- gcd, exponentiation, population countRobert Griesemer1-8/+85
- more rational numbers stuff - more tests R=r OCL=18295 CL=18295
2008-10-31- fixed another test (arithmetic vs. logic shift bug)Robert Griesemer1-9/+26
R=r OCL=18235 CL=18237
2008-10-30- div and mod (arbitrary precision)Robert Griesemer1-89/+204
- more tests - some global renames R=r OCL=18219 CL=18219
2008-10-29- implemented ShrRobert Griesemer1-37/+32
- 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- added shl operation, extra testsRobert Griesemer1-116/+116
- 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-28- steps towards implementation of div and modRobert Griesemer1-170/+317
- string conversion in different bases - tracked down a 6g bug, use work-around for now R=r OCL=17981 CL=17981
2008-10-27- bug fixes, cleanupsRobert Griesemer1-26/+34
- integer string conversion R=r OCL=17923 CL=17923
2008-10-27- created staging area for getting bignum package up-to-speed again,Robert Griesemer1-0/+527
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