doc: document new math.Fma function

This accidentally got committed - please review the whole paragraph
as if it was new.

Change-Id: I98e1db4670634c6e792d26201ce0cd329a6928b6
Reviewed-on: https://go-review.googlesource.com/c/go/+/202579
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Keith Randall 2019-10-21 15:03:48 -07:00 committed by Keith Randall
parent 4cde749f63
commit 953cc7490a

View File

@ -225,12 +225,11 @@ TODO
<dl id="math"><dt><a href="/pkg/math/">math</a></dt>
<dd>
<p><!-- CL 127458 -->
The new <a href="/pkg/math/#Fma"><code>Fma</code></a> function
The new <a href="/pkg/math/#FMA"><code>FMA</code></a> function
computes <code>x*y+z</code> in floating point with no
intermediate rounding of the <code>x*y</code>
computation. Several architectures implement this computation
using dedicated hardware instructions for additional
performance.
using dedicated hardware instructions for additional performance.
</p>
</dl><!-- math -->