summaryrefslogtreecommitdiff
path: root/src/pkg/math/bits.go
AgeCommit message (Collapse)AuthorFilesLines
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý1-0/+10
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-1/+1
2010-02-18math: add Cbrt and Sincos; x87 versions of Sincos, Frexp, LdexpCharles L. Dorian1-48/+0
Added special condition and benchmarks for Cbrt, Sincos. Took Frexp and Ldexp out of bits.go. R=rsc CC=golang-dev http://codereview.appspot.com/206084 Committer: Russ Cox <rsc@golang.org>
2010-02-05math: special cases for Modf, Frexp and Ldexp; added Modf_386Charles L. Dorian1-25/+14
Also moved Modf from bits.go into modf.go and added timing tests. R=rsc CC=golang-dev http://codereview.appspot.com/202042 Committer: Russ Cox <rsc@golang.org>
2009-12-15math: faster, easier to inline IsNaN, IsInfRuss Cox1-4/+10
R=r CC=golang-dev http://codereview.appspot.com/180046
2009-12-151) Change default gofmt default settings forRobert Griesemer1-35/+35
parsing and printing to new syntax. Use -oldparser to parse the old syntax, use -oldprinter to print the old syntax. 2) Change default gofmt formatting settings to use tabs for indentation only and to use spaces for alignment. This will make the code alignment insensitive to an editor's tabwidth. Use -spaces=false to use tabs for alignment. 3) Manually changed src/exp/parser/parser_test.go so that it doesn't try to parse the parser's source files using the old syntax (they have new syntax now). 4) gofmt -w src misc test/bench 3rd set of files. R=rsc CC=golang-dev http://codereview.appspot.com/180048
2009-11-09- replaced gofmt expression formatting algorithm withRobert Griesemer1-8/+8
rsc's algorithm - applied gofmt -w misc src - partial CL (last chunk) R=rsc, r http://go/go-review/1024041
2009-11-09remove semis after statements in one-statement statement listsRobert Griesemer1-6/+6
R=rsc, r http://go/go-review/1025029
2009-11-06- fine-tuning of one-line func heuristic (nodes.go)Robert Griesemer1-3/+1
- enabled for function declarations (not just function literals) - applied gofmt -w $GOROOT/src (look for instance at src/pkg/debug/elf/elf.go) R=r, rsc CC=go-dev http://go/go-review/1026006
2009-11-05gofmt-ify math, expvar, exp/spacewarRobert Griesemer1-11/+10
R=rsc http://go/go-review/1018061
2009-10-15move math out of runtime.Russ Cox1-0/+105
a step toward enforcing package boundaries, necessary to eliminate global package name space. R=r DELTA=581 (310 added, 271 deleted, 0 changed) OCL=35805 CL=35823