1
0
mirror of https://github.com/golang/go synced 2024-10-04 00:21:20 -06:00
go/src/pkg
Robert Griesemer 7565726875 math/big: fix big.Exp and document better
- always return 1 for y <= 0
- document that the sign of m is ignored
- protect against div-0 panics by treating
  m == 0 the same way as m == nil
- added extra tests

Fixes #4239.

R=agl, remyoudompheng, agl
CC=golang-dev
https://golang.org/cl/6724046
2012-10-16 13:46:27 -07:00
..
archive archive/tar: fix inconsistent namespace usage in example 2012-10-02 08:10:42 +10:00
bufio bufio: Implement io.WriterTo for (*Reader) 2012-09-27 16:31:03 +10:00
builtin builtin: Changed documentation for rune type. 2012-09-18 11:01:10 -07:00
bytes bytes, strings: add (*Reader).WriteTo 2012-10-12 14:43:50 +11:00
compress compress/bzip2: use io.ByteReader instead of internal interface 2012-10-12 14:09:24 -07:00
container container/heap: optimization in case heap has many duplicates 2012-10-10 11:35:57 -07:00
crypto crypto/tls: make closeNotify a warning alert. 2012-10-16 15:40:37 -04:00
database/sql database/sql: stop reuse of bad connections 2012-08-23 19:29:47 -07:00
debug debug/pe: support PE files which contain no symbol table (if NumberOfSymbols is equal to 0 in the IMAGE_FILE_HEADER structure). 2012-10-09 11:15:53 +11:00
encoding encoding/gob: add test case for issue 4214. 2012-10-09 09:55:57 +04:00
errors pkg: a slew of examples 2012-02-18 11:48:33 +11:00
exp exp/types/staging: index and slice type checks 2012-10-16 10:20:03 -07:00
expvar expvar: add locking to String, and use RWMutex properly throughout. 2012-03-06 09:13:26 +11:00
flag flag: fix bug in handling of booleans on error 2012-07-27 16:13:29 -07:00
fmt fmt: document some undocumented details 2012-10-12 16:16:55 +11:00
go crypto/hmac: add Equal function. 2012-10-11 15:28:02 -04:00
hash build: make int 64 bits on amd64 2012-09-24 20:57:01 -04:00
html gofmt: apply gofmt -w -s src misc 2012-10-09 17:01:28 -07:00
image image/jpeg: re-organize the processSOS code. 2012-10-15 13:28:30 +11:00
index/suffixarray all: various typos 2012-03-13 17:29:07 -07:00
io io/ioutil: use pathname instead of name in docs to avoid confusion 2012-10-13 19:05:22 +08:00
log log/syslog: don't append \n if there is one 2012-07-27 14:22:27 -04:00
math math/big: fix big.Exp and document better 2012-10-16 13:46:27 -07:00
mime net,mime: Minor corrections to documentation comments. 2012-09-07 10:24:55 -07:00
net net/http: fix data race on countReader.n 2012-10-12 09:17:56 +11:00
old/netchan old/regexp, old/template: delete. 2012-04-27 15:12:24 +10:00
os os/signal: add Notify example 2012-10-12 10:22:13 +11:00
path path: improve documentation for Dir 2012-08-30 11:16:41 -07:00
reflect go/printer: parenthesize literal function types in conversions 2012-10-04 21:03:50 -07:00
regexp regexp/syntax: define accepted syntax 2012-09-24 15:33:53 -04:00
runtime runtime: fix spurious deadlock crashes 2012-10-16 14:41:32 +04:00
sort sort: add time complexity to doc 2012-03-22 09:27:02 -07:00
strconv strconv: faster FormatFloat for fixed number of digits. 2012-09-01 16:31:46 +02:00
strings bytes, strings: add (*Reader).WriteTo 2012-10-12 14:43:50 +11:00
sync race: sync/atomic changes 2012-10-07 22:07:32 +04:00
syscall syscall: FreeBSD/ARM support 2012-10-12 16:26:42 +08:00
testing testing: change -test.benchtime to a flag.Duration. 2012-10-09 08:57:29 +11:00
text text/template: fix nil crash on Templates 2012-10-07 09:26:59 +11:00
time time: accept numbers larger than 2^32 in ParseDuration. 2012-10-15 07:50:13 +11:00
unicode unicode: performance improvements (API change) 2012-09-21 00:35:25 -04:00
unsafe pkg: Removing duplicated words ("of of", etc.), mostly from comments. 2012-07-09 09:16:10 +10:00