From: Robert Griesemer Date: Fri, 17 Aug 2012 18:36:21 +0000 (-0700) Subject: go_spec: unary + and - are also defined for complex types X-Git-Tag: go1.1rc2~2632 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=95a00cae2eabf726634695ee1e079e28b9bde743;p=gostls13.git 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.