Attention is currently required from: Eli Bendersky.
Ian Lance Taylor would like Eli Bendersky to review this change.
doc/go1.21: mention math.Compare and Compare32
For #56491
Change-Id: Ifee968d45d66df4d05319b4fef27bb1d3d6781f3
---
M doc/go1.21.html
1 file changed, 6 insertions(+), 10 deletions(-)
diff --git a/doc/go1.21.html b/doc/go1.21.html
index 3758d28..b5c6330 100644
--- a/doc/go1.21.html
+++ b/doc/go1.21.html
@@ -541,16 +541,12 @@
<dl id="math"><dt><a href="/pkg/math/">math</a></dt>
<dd>
- <p><!-- https://go.dev/issue/56491 -->
- TODO: <a href="https://go.dev/issue/56491">https://go.dev/issue/56491</a>: add Compare and Compare32
- </p>
-
- <p><!-- CL 459435 -->
- TODO: <a href="https://go.dev/cl/459435">https://go.dev/cl/459435</a>: math: add Compare and Compare32; modified api/next/56491.txt
- </p>
-
- <p><!-- CL 467515 -->
- TODO: <a href="https://go.dev/cl/467515">https://go.dev/cl/467515</a>: math: add Compare and Compare32; modified api/next/56491.txt
+ <p><!-- https://go.dev/issue/56491, CL 459435, CL 467515 -->
+ The new functions
+ <a href="/pkg/meth/#Compare"><code>Compare</code></a> and
+ <a href="/pkg/meth/#Compare32"><code>Compare32</code></a> may be
+ used to compare floating-point values using the
+ total-ordering predicate defined by IEEE-754.
</p>
</dd>
</dl><!-- math -->
To view, visit change 498776. To unsubscribe, or for help writing mail filters, visit settings.
Attention is currently required from: Eli Bendersky, Ian Lance Taylor.
1 comment:
File doc/go1.21.html:
s/meth/math/g
To view, visit change 498776. To unsubscribe, or for help writing mail filters, visit settings.
Attention is currently required from: Eli Bendersky, Ian Lance Taylor.
Ian Lance Taylor uploaded patch set #2 to this change.
The following approvals got outdated and were removed: Run-TryBot+1 by Ian Lance Taylor, TryBot-Result+1 by Gopher Robot
doc/go1.21: mention math.Compare and Compare32
For #56491
Change-Id: Ifee968d45d66df4d05319b4fef27bb1d3d6781f3
---
M doc/go1.21.html
1 file changed, 6 insertions(+), 10 deletions(-)
To view, visit change 498776. To unsubscribe, or for help writing mail filters, visit settings.
Attention is currently required from: Akhil Indurti, Eli Bendersky.
Patch set 1:Run-TryBot +1
1 comment:
File doc/go1.21.html:
s/meth/math/g
Done, thanks.
To view, visit change 498776. To unsubscribe, or for help writing mail filters, visit settings.
Attention is currently required from: Akhil Indurti, Ian Lance Taylor.
1 comment:
Patchset:
It's probably worth mentioning here (and likely in the comment of the new functions) how this interplays with cmp.Compare -- in fact their semantics seem to mismatch in some ways, which annoying given that both functions are called Compare
To view, visit change 498776. To unsubscribe, or for help writing mail filters, visit settings.
Patchset:
It's probably worth mentioning here (and likely in the comment of the new functions) how this interp […]
<unresolve>
To view, visit change 498776. To unsubscribe, or for help writing mail filters, visit settings.
Attention is currently required from: Akhil Indurti, Ian Lance Taylor.
Ian Lance Taylor uploaded patch set #3 to this change.
The following approvals got outdated and were removed: Run-TryBot+1 by Ian Lance Taylor, TryBot-Result+1 by Gopher Robot
doc/go1.21: mention math.Compare and Compare32
For #56491
Change-Id: Ifee968d45d66df4d05319b4fef27bb1d3d6781f3
---
M doc/go1.21.html
1 file changed, 10 insertions(+), 10 deletions(-)
To view, visit change 498776. To unsubscribe, or for help writing mail filters, visit settings.
Attention is currently required from: Akhil Indurti, Eli Bendersky.
Patch set 2:Run-TryBot +1
1 comment:
Patchset:
<unresolve>
Done
To view, visit change 498776. To unsubscribe, or for help writing mail filters, visit settings.
Attention is currently required from: Akhil Indurti, Ian Lance Taylor.
Patch set 3:Hold +1
1 comment:
Patchset:
To view, visit change 498776. To unsubscribe, or for help writing mail filters, visit settings.
Attention is currently required from: Akhil Indurti.
Patchset:
On hold for #60519.
To view, visit change 498776. To unsubscribe, or for help writing mail filters, visit settings.