summaryrefslogtreecommitdiff
path: root/src/pkg/math/sqrt.go
AgeCommit message (Collapse)AuthorFilesLines
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý1-0/+14
2011-09-13Imported Upstream version 60Ondřej Surý1-14/+0
2010-05-18math: signed zero Sqrt special caseCharles L. Dorian1-0/+1
IEEE 754 says: sqrt(-0) = -0 R=rsc CC=golang-dev http://codereview.appspot.com/1098041 Committer: Russ Cox <rsc@golang.org>
2010-01-26math: 386 FPU hypotCharles L. Dorian1-1/+0
Added 386 FPU version of Hypot; modified all_test.go to test Hypot with large arguments. Also edited sqrt.go to remove Sqrt(0) as a special case. R=rsc CC=golang-dev http://codereview.appspot.com/186180 Committer: Russ Cox <rsc@golang.org>
2010-01-10math: Sqrt using 386 FPU.Charles L. Dorian1-129/+1
Note: sqrt_decl.go already in src/pkg/math/. R=rsc CC=golang-dev http://codereview.appspot.com/183155 Committer: Russ Cox <rsc@golang.org>
2010-01-08math: special cases for Atan, Asin and AcosCharles L. Dorian1-43/+120
Added tests for NaN and out-of-range values. Combined asin.go and atan.go into atan.go. R=rsc CC=golang-dev http://codereview.appspot.com/180065 Committer: Russ Cox <rsc@golang.org>
2009-12-151) Change default gofmt default settings forRobert Griesemer1-16/+16
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-14/+14
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-3/+3
R=rsc, r http://go/go-review/1025029
2009-10-08more lgtm files from gofmtRuss Cox1-4/+4
R=gri OCL=35485 CL=35488
2009-10-06apply gofmt to malloc math once osRuss Cox1-7/+7
R=gri DELTA=566 (4 added, 14 deleted, 548 changed) OCL=35410 CL=35419
2009-08-12convert low-level (used by testing) packages toRuss Cox1-1/+0
whole-package compilation. new Makefiles, tests now in separate package bytes flag fmt io math once os reflect strconv sync time utf8 delete import "xxx" in package xxx. inside package xxx, xxx is not declared anymore so s/xxx.//g delete file and package level forward declarations. note the new internal_test.go and sync and strconv to provide public access to internals during testing. the installed version of the package omits that file and thus does not open the internals to all clients. R=r OCL=33065 CL=33097
2009-06-09mv src/lib to src/pkgRob Pike1-0/+66
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102