]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.12: correct types for math/bits
authorBrian Kessler <brian.m.kessler@gmail.com>
Thu, 20 Dec 2018 18:16:23 +0000 (11:16 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 20 Dec 2018 18:34:37 +0000 (18:34 +0000)
Extended precision math/bits functions are unsigned.

Change-Id: Ic1633e9c367fc3d5a80bc503008f035db4e78945
Reviewed-on: https://go-review.googlesource.com/c/155379
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
doc/go1.12.html

index 356f678cbdab825f5db7c1421aeb102aa9dcf5bd..7f5847c58b5038c3ce73cad6a15006bf8990becb 100644 (file)
@@ -547,7 +547,7 @@ for {
 <dl id="math/bits"><dt><a href="/pkg/math/bits/">math/bits</a></dt>
   <dd>
     <p><!-- CL 123157 -->
-    New extended precision operations <a href="/pkg/math/bits/#Add"><code>Add</code></a>, <a href="/pkg/math/bits/#Sub"><code>Sub</code></a>, <a href="/pkg/math/bits/#Mul"><code>Mul</code></a>, and <a href="/pkg/math/bits/#Div"><code>Div</code></a> are available in <code>int</code>, <code>int32</code>, and <code>int64</code> versions.
+    New extended precision operations <a href="/pkg/math/bits/#Add"><code>Add</code></a>, <a href="/pkg/math/bits/#Sub"><code>Sub</code></a>, <a href="/pkg/math/bits/#Mul"><code>Mul</code></a>, and <a href="/pkg/math/bits/#Div"><code>Div</code></a> are available in <code>uint</code>, <code>uint32</code>, and <code>uint64</code> versions.
     </p>
 
 </dl><!-- math/bits -->