From: Robert Griesemer Date: Fri, 21 Sep 2012 19:54:38 +0000 (+1000) Subject: [release-branch.go1] go_spec: unary + and - are also defined for complex types X-Git-Tag: go1.0.3~88 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=21bf9e9561acec217492a2308ab46b2b45b9162d;p=gostls13.git [release-branch.go1] go_spec: unary + and - are also defined for complex types ««« backport 1546a1ef0102 go_spec: unary + and - are also defined for complex types R=r, rsc, iant, ken, iant CC=golang-dev https://golang.org/cl/6450150 »»» --- diff --git a/doc/go_spec.html b/doc/go_spec.html index 84c7d510e9..80379c32cb 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1,6 +1,6 @@ @@ -2999,10 +2999,10 @@ follows:

-For floating-point numbers, +For floating-point and complex numbers, +x is the same as x, while -x is the negation of x. -The result of a floating-point division by zero is not specified beyond the +The result of a floating-point or complex division by zero is not specified beyond the IEEE-754 standard; whether a run-time panic occurs is implementation-specific.