go/src/pkg/math
Rob Pike bc6bb3efb4 math/big: fix nil bug in GobEncode
Update #5305.
This handles the case where the nil pointers are inside a slice.
A top-level nil pointer is harder, maybe fundamentally broken by gob's model.
Thinking required.
However, a slice is the important case since people don't expect to be sending
top-level nils much, but they can arise easily in slices.

R=golang-dev, josharian, adg
CC=golang-dev
https://golang.org/cl/13042044
2013-08-19 11:22:09 +10:00
..
big math/big: fix nil bug in GobEncode 2013-08-19 11:22:09 +10:00
cmplx
rand math/rand: mention that the default Source is thread-safe 2013-07-24 08:27:20 +10:00
abs.go
abs_386.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
abs_amd64.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
abs_arm.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
acosh.go math: make function documentation more regular 2012-04-06 14:01:12 -04:00
all_test.go math: handle exponent separately in Log2 2012-12-20 12:23:27 -05:00
asin.go
asin_386.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
asin_amd64.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
asin_arm.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
asinh.go math: make function documentation more regular 2012-04-06 14:01:12 -04:00
atan.go math: improve Atan, Asin and Acos accuracy 2012-06-24 19:39:07 -04:00
atan2.go
atan2_386.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
atan2_amd64.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
atan2_arm.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
atan_386.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
atan_amd64.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
atan_arm.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
atanh.go math: make function documentation more regular 2012-04-06 14:01:12 -04:00
bits.go all: be more idiomatic when documenting boolean return values. 2013-07-23 11:59:49 +10:00
cbrt.go math: make function documentation more regular 2012-04-06 14:01:12 -04:00
const.go math: slightly more readable comments 2012-02-23 10:17:24 -08:00
copysign.go math: make function documentation more regular 2012-04-06 14:01:12 -04:00
dim.go
dim_386.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
dim_amd64.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
dim_arm.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
erf.go math: make function documentation more regular 2012-04-06 14:01:12 -04:00
exp.go
exp2_386.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
exp2_amd64.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
exp2_arm.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
exp_386.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
exp_amd64.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
exp_arm.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
expm1.go
expm1_386.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
expm1_amd64.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
expm1_arm.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
export_test.go
floor.go
floor_386.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
floor_amd64.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
floor_arm.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
fltasm_amd64.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
frexp.go
frexp_386.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
frexp_amd64.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
frexp_arm.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
gamma.go math: make function documentation more regular 2012-04-06 14:01:12 -04:00
hypot.go math: make Hypot special cases look like others 2013-03-25 17:01:40 -04:00
hypot_386.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
hypot_amd64.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
hypot_arm.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
j0.go
j1.go
jn.go
ldexp.go
ldexp_386.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
ldexp_amd64.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
ldexp_arm.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
lgamma.go
log.go
log1p.go
log1p_386.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
log1p_amd64.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
log1p_arm.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
log10.go math: handle exponent separately in Log2 2012-12-20 12:23:27 -05:00
log10_386.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
log10_amd64.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
log10_arm.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
log_386.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
log_amd64.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
log_arm.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
logb.go math: make function documentation more regular 2012-04-06 14:01:12 -04:00
mod.go
mod_386.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
mod_amd64.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
mod_arm.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
modf.go
modf_386.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
modf_amd64.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
modf_arm.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
nextafter.go
pow.go
pow10.go
remainder.go doc: various "the the" and other typos 2012-07-08 11:57:04 +10:00
remainder_386.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
remainder_amd64.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
remainder_arm.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
signbit.go
sin.go
sin_386.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
sin_amd64.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
sin_arm.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
sincos.go math: make function documentation more regular 2012-04-06 14:01:12 -04:00
sincos_386.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
sincos_amd64.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
sincos_arm.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
sinh.go
sqrt.go math: remove repeated comment. 2013-03-22 14:54:20 +11:00
sqrt_386.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
sqrt_amd64.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
sqrt_arm.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
tan.go
tan_386.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
tan_amd64.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
tan_arm.s math: convert textflags from numbers to symbols 2013-08-12 10:25:18 -07:00
tanh.go math: modify a comment to the convention format. 2013-03-25 08:43:51 -07:00
unsafe.go