1
0
mirror of https://github.com/golang/go synced 2024-11-19 12:14:42 -07:00
go/src/math
Spencer Nelson f9e404c1c5 math/rand: make Rand fulfill the Reader interface
Add a Read function to Rand which reads random bytes into a buffer.

Fixes #8330

Change-Id: I85b90277b8be9287c6697def8dbefe0029b6ee06
Reviewed-on: https://go-review.googlesource.com/14522
Reviewed-by: Rob Pike <r@golang.org>
2015-09-16 17:54:01 +00:00
..
big math/big: Add small complete example of big.Rat usage 2015-09-15 17:46:22 +00:00
cmplx all: use one 'l' when cancelling everywhere except Solaris 2015-09-11 18:31:51 +00:00
rand math/rand: make Rand fulfill the Reader interface 2015-09-16 17:54:01 +00:00
abs_386.s
abs_amd64.s
abs_amd64p32.s
abs_arm64.s math, math/big: add support for GOARCH=arm64 2015-03-16 18:46:10 +00:00
abs_arm.s
abs_ppc64x.s all: use RET instead of RETURN on ppc64 2015-06-06 00:07:23 +00:00
abs.go
acosh.go
all_test.go math: fix Log2 test failures on ppc64 (and s390) 2015-07-15 05:35:22 +00:00
asin_386.s
asin_amd64.s
asin_amd64p32.s
asin_arm.s
asin.go
asinh.go
atan2_386.s
atan2_amd64.s
atan2_amd64p32.s
atan2_arm.s
atan2.go
atan_386.s
atan_amd64.s
atan_amd64p32.s
atan_arm.s
atan.go
atanh.go
bits.go
cbrt.go math: faster Cbrt 2015-02-23 21:04:46 +00:00
const.go math: explain OEIS link 2015-06-26 01:25:58 +00:00
copysign.go
dim_386.s
dim_amd64.s math: Dim, Max, Min - allow more bit patterns for NaN 2015-02-23 23:07:01 +00:00
dim_amd64p32.s
dim_arm.s
dim.go
erf.go
exp2_386.s
exp2_amd64.s
exp2_amd64p32.s
exp2_arm.s
exp_386.s
exp_amd64.s
exp_amd64p32.s
exp_arm.s
exp.go
expm1_386.s
expm1_amd64.s
expm1_amd64p32.s
expm1_arm.s
expm1.go math: Expm1 returns -1 with large negative argument. 2015-07-10 22:22:24 +00:00
export_test.go
floor_386.s
floor_amd64.s
floor_amd64p32.s
floor_arm.s
floor.go
frexp_386.s
frexp_amd64.s
frexp_amd64p32.s
frexp_arm.s
frexp.go
gamma.go
hypot_386.s
hypot_amd64.s
hypot_amd64p32.s
hypot_arm.s
hypot.go
j0.go all: use one 'l' when cancelling everywhere except Solaris 2015-09-11 18:31:51 +00:00
j1.go all: use one 'l' when cancelling everywhere except Solaris 2015-09-11 18:31:51 +00:00
jn.go math: avoid unused assignment in jn.go 2015-08-24 14:34:36 +00:00
ldexp_386.s
ldexp_amd64.s
ldexp_amd64p32.s
ldexp_arm.s
ldexp.go
lgamma.go
log1p_386.s
log1p_amd64.s
log1p_amd64p32.s
log1p_arm.s
log1p.go
log10_386.s
log10_amd64.s
log10_amd64p32.s
log10_arm.s
log10.go math: fix Log2 test failures on ppc64 (and s390) 2015-07-15 05:35:22 +00:00
log_386.s
log_amd64.s
log_amd64p32.s
log_arm.s
log.go
logb.go
mod_386.s
mod_amd64.s
mod_amd64p32.s
mod_arm.s
mod.go
modf_386.s
modf_amd64.s
modf_amd64p32.s
modf_arm.s
modf.go
nextafter.go math: change Nextafter64 to Nextafter in the description of Nextafter 2015-02-17 14:29:18 +00:00
pow10.go
pow.go
remainder_386.s
remainder_amd64.s
remainder_amd64p32.s
remainder_arm.s
remainder.go
signbit.go
sin_386.s
sin_amd64.s
sin_amd64p32.s
sin_arm.s
sin.go
sincos_386.s
sincos_amd64.s
sincos_amd64p32.s
sincos_arm.s
sincos.go
sinh.go
sqrt_386.s
sqrt_amd64.s
sqrt_amd64p32.s
sqrt_arm64.s math, cmd/internal/gc, cmd/7g: enable SQRT inlining, add assembly implementation 2015-04-03 23:48:00 +00:00
sqrt_arm.s
sqrt.go cmd/internal/gc: use hardware instruction for math.Sqrt (amd64/arm) 2015-04-03 16:13:36 +00:00
stubs_arm64.s math, cmd/internal/gc, cmd/7g: enable SQRT inlining, add assembly implementation 2015-04-03 23:48:00 +00:00
stubs_ppc64x.s all: power64 is now ppc64 2014-12-05 19:13:20 -05:00
tan_386.s
tan_amd64.s
tan_amd64p32.s
tan_arm.s
tan.go
tanh.go
unsafe.go