Age | Commit message (Collapse) | Author | Files | Lines |
|
* Code for assignment, conversions now mirrors spec.
* Changed some snprint -> smprint.
* Renamed runtime functions to separate
interface conversions from type assertions:
convT2I, assertI2T, etc.
* Correct checking of \U sequences.
Fixes issue 840.
Fixes issue 830.
Fixes issue 778.
R=ken2
CC=golang-dev
http://codereview.appspot.com/1303042
|
|
Was timing Exp, not Exp2.
R=rsc, r
CC=golang-dev
http://codereview.appspot.com/1521042
Committer: Rob Pike <r@golang.org>
|
|
Also added more tests for acosh, hypot, log, log10, log2
in all_test.go.
R=rsc
CC=golang-dev
http://codereview.appspot.com/1417041
Committer: Russ Cox <rsc@golang.org>
|
|
Uses the SSE2 max, min instructions. Also shorter sqrt_amd64.s
R=rsc
CC=golang-dev
http://codereview.appspot.com/1216042
Committer: Russ Cox <rsc@golang.org>
|
|
IEEE 754 says: sqrt(-0) = -0
R=rsc
CC=golang-dev
http://codereview.appspot.com/1098041
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/979043
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/937042
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/908041
Committer: Russ Cox <rsc@golang.org>
|
|
Added Signbit(), revised Copysign()
R=rsc
CC=golang-dev
http://codereview.appspot.com/822045
Committer: Russ Cox <rsc@golang.org>
|
|
Also amend j0.go (variable name conflict, small corrections).
R=rsc
CC=golang-dev
http://codereview.appspot.com/769041
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/661044
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/649041
Committer: Russ Cox <rsc@golang.org>
|
|
R=r
CC=golang-dev
http://codereview.appspot.com/444043
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/424041
|
|
Use hardware sqrt for faster hypot; preserve software-only
hypot as hypotGo (like sqrtGo); enable benchmarking of
hypotGo.
R=rsc
CC=golang-dev
http://codereview.appspot.com/229049
Committer: Russ Cox <rsc@golang.org>
|
|
R=r
CC=golang-dev
http://codereview.appspot.com/250041
|
|
Also added expm1_386 and remainder_386; shortened exp_386
R=rsc
CC=golang-dev
http://codereview.appspot.com/217109
Committer: Russ Cox <rsc@golang.org>
|
|
- applied gofmt to src and misc
Note: This fix improved formatting of src/pkg/math/all_test.go but leads
to a degradation in src/pkg/exp/4s/xs.go. The latter happened to "work"
before accidentally. Fixing the alignment in that case in general will
be a separate CL.
Fixes issue 628.
R=rsc
CC=golang-dev
http://codereview.appspot.com/223054
|
|
Added lgamma.go, tests and special cases.
R=rsc
CC=golang-dev
http://codereview.appspot.com/217060
Committer: Russ Cox <rsc@golang.org>
|
|
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>
|
|
Added tests and benchmarks for Exp2 (special cases same
as Exp). Log1p also enhances speed of inverse hyperbolics.
R=rsc
CC=golang-dev
http://codereview.appspot.com/206058
Committer: Russ Cox <rsc@golang.org>
|
|
Add functions, tests and benchmarks. Fix typos in comments
in expm1 and hypot_386. Fix Acosh domain error in benchmark
test.
R=rsc
CC=golang-dev
http://codereview.appspot.com/204069
Committer: Russ Cox <rsc@golang.org>
|
|
Added special cases, tests and benchmarks for Atan2;
added 386 FPU version of Atan2.
R=rsc
CC=golang-dev
http://codereview.appspot.com/201068
Committer: Russ Cox <rsc@golang.org>
|
|
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>
|
|
R=r
CC=Charlie Dorian, golang-dev
http://codereview.appspot.com/199054
|
|
Added special cases to comments for asin.go and fabs.go.
Added Trunc() to floor.go and floor_386.s. Fixed formatting
error in hypot_386.s Added new functions Acosh, Asinh,
Atanh, Copysign, Erf, Erfc, Expm1, and Log1p. Added
386 FPU version of Fmod. Added tests, benchmarks, and
precision to expected results in all_test.go. Edited
makefile so it all compiles.
R=rsc
CC=golang-dev
http://codereview.appspot.com/195052
Committer: Russ Cox <rsc@golang.org>
|
|
Fixes issue 550.
R=rsc
CC=eds, golang-dev, jtomaschke
http://codereview.appspot.com/196063
Committer: Russ Cox <rsc@golang.org>
|
|
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>
|
|
(eliminate assumption of package global name space,
make code easier to move between packages).
R=r
CC=golang-dev
http://codereview.appspot.com/194072
|
|
Added special case tests to all_test.go. Added tests to hypot.go,
otherwise hangs.
R=rsc
CC=golang-dev
http://codereview.appspot.com/186118
Committer: Russ Cox <rsc@golang.org>
|
|
sin, cos, tan, asin, acos, atan, exp, log, log10,
floor, ceil, and fabs
R=rsc
CC=golang-dev
http://codereview.appspot.com/189083
Committer: Russ Cox <rsc@golang.org>
|
|
Added special case tests to all_test.go. Added tests to Floor,
in-lined tests in Exp and Log.
R=rsc
CC=golang-dev
http://codereview.appspot.com/184081
Committer: Russ Cox <rsc@golang.org>
|
|
Added special case tests to all_test.go for Fmod. Fixed Fmod [hung
for Fmod(+/-Inf, <finite>)]. Also added test for Ceil in all_test.go.
R=rsc
CC=golang-dev
http://codereview.appspot.com/186076
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/186042
|
|
R=r
CC= golang-dev, Charlie Dorian, golang-dev
http://codereview.appspot.com/184058
|
|
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>
|
|
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>
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/176064
Committer: Russ Cox <rsc@golang.org>
|
|
R=r
CC=golang-dev
http://codereview.appspot.com/180046
|
|
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
|
|
R=rsc
http://codereview.appspot.com/157160
|
|
fixes issue 326.
R=rsc
http://codereview.appspot.com/160059
|
|
the bash scripts and makefiles for building go didn't take into account
the fact $GOROOT / $GOBIN could both be directories containing whitespaces,
and was not possible to build it in such a situation.
this commit adjusts the various makefiles/scripts to make it aware of that
possibility, and now it builds successfully when using a path with whitespaces
as well.
Fixes issue 115.
R=rsc, dsymonds1
http://codereview.appspot.com/157067
Committer: Russ Cox <rsc@golang.org>
|
|
R=r, gri
CC=golang-dev
http://codereview.appspot.com/156115
|
|
(error introduced converting from arg1, arg2)
Fixes issue 220.
R=r
http://codereview.appspot.com/156041
|
|
* check for struct literal assignment to private fields.
* record, fix crash involving parallel map assignment.
* avoid infinite recursion in exportassignok.
* make floating point bounds check precise.
* avoid crash on invalid receiver.
* add context to error about implicit assignment.
Fixes issue 86.
Fixes issue 88.
Fixes issue 158.
Fixes issue 174.
Fixes issue 201.
Fixes issue 204.
R=ken2
http://codereview.appspot.com/154144
|
|
rsc's algorithm
- applied gofmt -w misc src
- partial CL (last chunk)
R=rsc, r
http://go/go-review/1024041
|
|
R=rsc, r
http://go/go-review/1025029
|
|
- 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
|
|
R=rsc
http://go/go-review/1018061
|