Robert Griesemer b9caa4ac56 big: completed set of Int division routines & cleanups
- 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
2010-05-03 18:48:05 -07:00
..
2010-05-03 17:51:48 -07:00
2010-05-03 17:51:48 -07:00
2010-04-19 15:41:40 -07:00
2010-03-30 10:34:57 -07:00
2010-03-30 10:34:57 -07:00
2009-12-09 16:55:03 -08:00
2010-03-30 10:34:57 -07:00
2010-04-16 13:06:45 +03:00
2009-09-17 10:27:04 -07:00
2009-09-08 23:16:19 -07:00
2009-08-17 13:30:22 -07:00
2010-03-30 10:34:57 -07:00
2010-04-19 09:21:51 -07:00
2009-03-16 21:48:07 -07:00
2009-08-03 11:58:52 -07:00
2009-08-03 11:58:52 -07:00
2010-02-05 18:38:27 -08:00
2010-02-01 00:25:59 -08:00
2009-09-15 12:42:24 -07:00
2009-09-15 12:42:24 -07:00
2008-10-08 15:33:18 -07:00
2009-10-09 16:44:40 -07:00
2008-08-11 22:07:49 -07:00
2008-12-18 22:37:22 -08:00
2008-10-06 16:27:14 -07:00
2009-08-03 11:58:52 -07:00
2010-03-30 10:34:57 -07:00
2009-01-20 14:40:40 -08:00
2010-04-06 17:56:48 -07:00
2010-05-03 17:51:48 -07:00
2008-08-11 22:07:49 -07:00
2009-07-07 10:30:31 -07:00
2009-09-14 21:03:53 -07:00
2010-02-01 16:35:23 -08:00
2010-01-26 10:40:28 -08:00
2010-01-26 10:40:28 -08:00
2009-09-15 12:42:24 -07:00
2009-09-17 10:27:04 -07:00
2009-08-17 13:30:22 -07:00
2009-01-20 14:40:40 -08:00
2010-03-30 10:34:57 -07:00
2010-03-30 10:34:57 -07:00
2009-01-20 14:40:40 -08:00
2009-09-24 17:54:47 -07:00
2009-09-14 21:03:53 -07:00
2010-03-30 10:34:57 -07:00
2008-09-17 14:08:52 -07:00
2010-03-31 11:47:09 -07:00
2010-04-06 13:48:31 -07:00
2009-08-17 13:30:22 -07:00
2010-03-30 10:34:57 -07:00
2009-09-14 21:03:53 -07:00
2008-08-11 22:07:49 -07:00
2010-03-30 10:34:57 -07:00
2010-03-30 10:34:57 -07:00
2010-03-30 10:34:57 -07:00