[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 10/16: [doc,man]: Tweak defn of "numeric expression".
From: |
G. Branden Robinson |
Subject: |
[groff] 10/16: [doc,man]: Tweak defn of "numeric expression". |
Date: |
Sun, 15 Dec 2024 16:34:39 -0500 (EST) |
gbranden pushed a commit to branch master
in repository groff.
commit 594e9f846273bb5112e55fc104d69a6e8c2e58f0
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sun Dec 15 11:04:33 2024 -0600
[doc,man]: Tweak defn of "numeric expression".
---
doc/groff.texi.in | 7 ++++---
man/groff.7.man | 16 +++++++++-------
2 files changed, 13 insertions(+), 10 deletions(-)
diff --git a/doc/groff.texi.in b/doc/groff.texi.in
index 983872223..3b5d13284 100644
--- a/doc/groff.texi.in
+++ b/doc/groff.texi.in
@@ -6185,9 +6185,10 @@ scaling unit.
@cindex numeric expressions
@cindex expressions, numeric
-A @dfn{numeric expression} evaluates to an integer:@: it can be as
-simple as a literal @samp{0} or it can be a complex sequence of register
-and string interpolations interleaved with measurements and operators.
+When evaluated, a @dfn{numeric expression} interpolates an integer:@: it
+can be as simple as a literal @samp{0} or it can be a complex sequence
+of register and string interpolations interleaved with measurements and
+operators.
GNU @code{troff} provides a set of mathematical and logical operators
familiar to programmers---as well as some unusual ones---but supports
diff --git a/man/groff.7.man b/man/groff.7.man
index 073bc9a4d..121ab27dc 100644
--- a/man/groff.7.man
+++ b/man/groff.7.man
@@ -917,16 +917,18 @@ see below.
.
.\" BEGIN Keep (roughly) parallel with groff.texi node "Numeric
.\" expressions".
-A
+When evaluated,
+a
.I numeric expression
-evaluates to an integer.
-.
-The following operators are recognized.
-.\"evaluates to an integer:
-.\"it can be as simple as a literal
+interpolates an integer.
+.\"It can be as simple as a literal
.\".RB \[lq] 0 \[rq]
.\"or it can be a complex sequence of register and string interpolations
-.\"interleaved with measurement operators.
+.\"interleaved with measurements and operators.
+.
+GNU
+.I troff \" GNU
+recognizes the following operators.
.
.
.P
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 10/16: [doc,man]: Tweak defn of "numeric expression".,
G. Branden Robinson <=