From 95a00cae2eabf726634695ee1e079e28b9bde743 Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Fri, 17 Aug 2012 11:36:21 -0700 Subject: [PATCH] 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 84c7d510e9b..80379c32cb9 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.