We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f07e4da commit bb7495aCopy full SHA for bb7495a
doc/go1.17.html
@@ -334,7 +334,9 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
334
<dl id="math"><dt><a href="/pkg/math/">math</a></dt>
335
<dd>
336
<p><!-- CL 247058 -->
337
- TODO: <a href="https://golang.org/cl/247058">https://golang.org/cl/247058</a>: add MaxUint, MinInt, MaxInt
+ The math package now defines three more constants: <code>MaxUint</code>, <code>MaxInt</code> and <code>MinInt</code>.
338
+ For 32-bit systems their values are <code>2^32 - 1</code>, <code>2^31 - 1</code> and <code>-2^31</code>, respectively.
339
+ For 64-bit systems their values are <code>2^64 - 1</code>, <code>2^63 - 1</code> and <code>-2^63</code>, respectively.
340
</p>
341
</dd>
342
</dl><!-- math -->
0 commit comments