diff --git a/doc/go1.9.html b/doc/go1.9.html index 8b10218ca7..3704f55835 100644 --- a/doc/go1.9.html +++ b/doc/go1.9.html @@ -27,8 +27,9 @@ ul li { margin: 0.5em 0; } after Go 1.8 and is the tenth release in the Go 1.x series. - There is one change to the language, adding - support for type aliases. + There are two changes to the language, + adding support for type aliases, and defining when implementations + may fuse floating point operations. Most of the changes are in the implementation of the toolchain, runtime, and libraries. As always, the release maintains the Go 1 @@ -49,7 +50,9 @@ ul li { margin: 0.5em 0; }
- There is one change to the language. + There are two changes to the language. +
+
Go now supports type aliases to support gradual code repair while
moving a type between packages.
The type alias
@@ -69,6 +72,16 @@ type T1 = T2
both T1 and T2 denote the same type.
+ A smaller language change is that the
+ language specification
+ now states when implementations are allowed to fuse floating
+ point operations together, such as by using an architecture's "fused
+ multiply and add" (FMA) instruction to compute x*y + z
+ without rounding the intermediate result x*y.
+ To force the intermediate rounding, write float64(x*y) + z.
+