From 21bf9e9561acec217492a2308ab46b2b45b9162d Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Sat, 22 Sep 2012 05:54:38 +1000 Subject: [PATCH] [release-branch.go1] go_spec: unary + and - are also defined for complex types MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit ««« 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 »»» --- doc/go_spec.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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.

-- 2.50.0