diff --git a/doc/go_spec.html b/doc/go_spec.html index 69ac1d353f..358232ef91 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1,6 +1,6 @@ @@ -901,7 +901,9 @@ it is a defined type.

Numeric types

-A numeric type represents sets of integer or floating-point values. +An integer, floating-point, or complex type +represents the set of integer, floating-point, or complex values, respectively. +They are collectively called numeric types. The predeclared architecture-independent numeric types are:

@@ -932,7 +934,7 @@ The value of an n-bit integer is n bits wide and represented using

-There is also a set of predeclared numeric types with implementation-specific sizes: +There is also a set of predeclared integer types with implementation-specific sizes:

@@ -1921,7 +1923,7 @@ if one of the following conditions applies:
 
 
 
  • -T is a floating-point type and x can be rounded to T's +T is a floating-point type and x can be rounded to T's precision without overflow. Rounding uses IEEE 754 round-to-even rules but with an IEEE negative zero further simplified to an unsigned zero. Note that constant values never result in an IEEE negative zero, NaN, or infinity. @@ -3108,7 +3110,7 @@ For array and slice literals the following rules apply: key must be a non-negative constant representable by a value of type int; and if it is typed - it must be of integer type. + it must be of integer type.
  • An element without a key uses the previous element's index plus one. If the first element has no key, its index is zero. @@ -3707,7 +3709,7 @@ The following rules apply: If a is not a map: