From f9f4d756dd11b6196a38bc0a9997c01235c322db Mon Sep 17 00:00:00 2001 From: Eisenwave Date: Sat, 26 Jul 2025 10:38:11 +0200 Subject: [PATCH 1/4] [conv.rank] Add missing hyphen in "floating point" --- source/basic.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/basic.tex b/source/basic.tex index c5ad9eb0bc..ed9b2febda 100644 --- a/source/basic.tex +++ b/source/basic.tex @@ -6163,7 +6163,7 @@ defined as follows: \begin{itemize} \item -The rank of a floating point type \tcode{T} is greater than +The rank of a floating-point type \tcode{T} is greater than the rank of any floating-point type whose set of values is a proper subset of the set of values of \tcode{T}. \item From 5d2e902eebc39bb9fe81ed6b82b8bf96cc6608cd Mon Sep 17 00:00:00 2001 From: Eisenwave Date: Sat, 26 Jul 2025 10:38:52 +0200 Subject: [PATCH 2/4] [diff.cpp03.locale] Add missing hyphen in "floating point" --- source/compatibility.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/compatibility.tex b/source/compatibility.tex index a46c9a71cc..56cf900062 100644 --- a/source/compatibility.tex +++ b/source/compatibility.tex @@ -2674,7 +2674,7 @@ \diffref{facet.num.get.virtuals} \change -The \tcode{num_get} facet recognizes hexadecimal floating point values. +The \tcode{num_get} facet recognizes hexadecimal floating-point values. \rationale Required by new feature. \effect From 9d7b95ec96b2c5021a66be0130fc71619814cca7 Mon Sep 17 00:00:00 2001 From: Eisenwave Date: Sat, 26 Jul 2025 10:40:00 +0200 Subject: [PATCH 3/4] [linalg.reqs.alg] Add missing hyphen in "floating point" --- source/numerics.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/numerics.tex b/source/numerics.tex index c477fd3044..48dff55913 100644 --- a/source/numerics.tex +++ b/source/numerics.tex @@ -11902,7 +11902,7 @@ the \tcode{value_type} is a floating-point type, implementers are free to leverage approximations, use arithmetic operations not explicitly listed above, and -compute floating point sums in any way that improves their accuracy. +compute floating-point sums in any way that improves their accuracy. \end{note} \pnum From b3c0813679d7ddb0d26f1618e5d02ce3c14c6845 Mon Sep 17 00:00:00 2001 From: Eisenwave Date: Sat, 26 Jul 2025 11:02:47 +0200 Subject: [PATCH 4/4] [checks] Check for lack of hyphenation in "floating point" --- tools/check-source.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/check-source.sh b/tools/check-source.sh index 0babcd2af8..d1a7a1359b 100755 --- a/tools/check-source.sh +++ b/tools/check-source.sh @@ -8,6 +8,7 @@ failed=0 texfiles=$(ls *.tex | grep -v macros.tex | grep -v layout.tex | grep -v tables.tex) texlibdesc="support.tex concepts.tex diagnostics.tex memory.tex meta.tex utilities.tex containers.tex iterators.tex ranges.tex algorithms.tex strings.tex text.tex numerics.tex time.tex iostreams.tex threads.tex exec.tex" texlib="lib-intro.tex $texlibdesc" +texnoback=$(ls *.tex | grep -v back.tex) # Filter that reformats the error message as a "workflow command", # for native handling by github actions. @@ -39,6 +40,10 @@ for f in *.tex; do echo "$f" | fail 'trailing empty lines' || failed=1 done +# "floating point" instead of "floating-point" +grep -in 'floating point' $texnoback | + fail '"floating point" should be hyphenated like "floating-point"' || failed=1 + # indented \begin{codeblock} / \end{codeblock} (causes unwanted empty space) grep -ne '^.\+\\\(begin\|end\){codeblock}' $texfiles | fail 'indented codeblock env' || failed=1