1
0
mirror of https://github.com/golang/go synced 2024-10-05 00:11:21 -06:00
go/src/pkg/big
Florian Uekermann e9c35ac55d big: add random number generation
Adds func (z *Int) RandIntn(src rand.Source,n *Int) *Int

R=rsc
CC=golang-dev, gri
https://golang.org/cl/2315045
2010-10-18 14:09:20 -04:00
..
arith_386.s big: potential bug fix, cleanups 2010-05-19 09:36:50 -07:00
arith_amd64.s big: potential bug fix, cleanups 2010-05-19 09:36:50 -07:00
arith_arm.s big: attempt to fix arm build 2010-07-16 11:18:45 -07:00
arith_decl.go big, bytes: move assembly externs to separate file 2010-06-21 19:53:08 -07:00
arith_test.go big: cleanups and performance tuning 2010-05-08 13:52:36 -07:00
arith.go big, bytes: move assembly externs to separate file 2010-06-21 19:53:08 -07:00
calibrate_test.go big: improved computation of "karatsuba length" for faster multiplies 2010-04-30 11:54:27 -07:00
hilbert_test.go test/hilbert.go: convert to test case and benchmark for big.Rat 2010-05-21 20:20:17 -07:00
int_test.go tests: fix prints 2010-09-23 13:48:56 +10:00
int.go big: add random number generation 2010-10-18 14:09:20 -04:00
Makefile build: no required environment variables 2010-08-18 10:08:49 -04:00
nat_test.go tests: fix prints 2010-09-23 13:48:56 +10:00
nat.go big: Several fixes to bitwise functions 2010-08-09 10:21:54 -07:00
rat_test.go big: fix panic and round correctly in Rat.FloatString 2010-10-07 16:10:48 +02:00
rat.go big: fix panic and round correctly in Rat.FloatString 2010-10-07 16:10:48 +02:00