Skip to content

Commit c5b7724

Browse files
committed
Update the bc manpage with two minor corrections
Closes #81. Signed-off-by: Gavin D. Howard <gavin@gavinhoward.com>
1 parent 324c309 commit c5b7724

File tree

14 files changed

+27
-27
lines changed

14 files changed

+27
-27
lines changed

manuals/bc.1.md.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1523,15 +1523,15 @@ The extended library is a **non-portable extension**.
15231523

15241524
**frand(p)**
15251525

1526-
: Generates a pseudo-random integer between **0** (inclusive) and **1**
1526+
: Generates a pseudo-random number between **0** (inclusive) and **1**
15271527
(exclusive) with the number of decimal digits after the decimal point equal
15281528
to the truncated absolute value of **p**. If **p** is not **0**, then
15291529
calling this function will change the value of **seed**. If **p** is **0**,
15301530
then **0** is returned, and **seed** is *not* changed.
15311531

15321532
**ifrand(i, p)**
15331533

1534-
: Generates a pseudo-random integer that is between **0** (inclusive) and the
1534+
: Generates a pseudo-random number that is between **0** (inclusive) and the
15351535
truncated absolute value of **i** (exclusive) with the number of decimal
15361536
digits after the decimal point equal to the truncated absolute value of
15371537
**p**. If the absolute value of **i** is greater than or equal to **2**, and

manuals/bc/A.1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2626
.\" POSSIBILITY OF SUCH DAMAGE.
2727
.\"
28-
.TH "BC" "1" "January 2024" "Gavin D. Howard" "General Commands Manual"
28+
.TH "BC" "1" "August 2024" "Gavin D. Howard" "General Commands Manual"
2929
.nh
3030
.ad l
3131
.SH NAME
@@ -1731,7 +1731,7 @@ Functions\f[R] subsection below).
17311731
.RE
17321732
.TP
17331733
\f[B]frand(p)\f[R]
1734-
Generates a pseudo\-random integer between \f[B]0\f[R] (inclusive) and
1734+
Generates a pseudo\-random number between \f[B]0\f[R] (inclusive) and
17351735
\f[B]1\f[R] (exclusive) with the number of decimal digits after the
17361736
decimal point equal to the truncated absolute value of \f[B]p\f[R].
17371737
If \f[B]p\f[R] is not \f[B]0\f[R], then calling this function will
@@ -1740,7 +1740,7 @@ If \f[B]p\f[R] is \f[B]0\f[R], then \f[B]0\f[R] is returned, and
17401740
\f[B]seed\f[R] is \f[I]not\f[R] changed.
17411741
.TP
17421742
\f[B]ifrand(i, p)\f[R]
1743-
Generates a pseudo\-random integer that is between \f[B]0\f[R]
1743+
Generates a pseudo\-random number that is between \f[B]0\f[R]
17441744
(inclusive) and the truncated absolute value of \f[B]i\f[R] (exclusive)
17451745
with the number of decimal digits after the decimal point equal to the
17461746
truncated absolute value of \f[B]p\f[R].

manuals/bc/A.1.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1433,15 +1433,15 @@ The extended library is a **non-portable extension**.
14331433

14341434
**frand(p)**
14351435

1436-
: Generates a pseudo-random integer between **0** (inclusive) and **1**
1436+
: Generates a pseudo-random number between **0** (inclusive) and **1**
14371437
(exclusive) with the number of decimal digits after the decimal point equal
14381438
to the truncated absolute value of **p**. If **p** is not **0**, then
14391439
calling this function will change the value of **seed**. If **p** is **0**,
14401440
then **0** is returned, and **seed** is *not* changed.
14411441

14421442
**ifrand(i, p)**
14431443

1444-
: Generates a pseudo-random integer that is between **0** (inclusive) and the
1444+
: Generates a pseudo-random number that is between **0** (inclusive) and the
14451445
truncated absolute value of **i** (exclusive) with the number of decimal
14461446
digits after the decimal point equal to the truncated absolute value of
14471447
**p**. If the absolute value of **i** is greater than or equal to **2**, and

manuals/bc/E.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2626
.\" POSSIBILITY OF SUCH DAMAGE.
2727
.\"
28-
.TH "BC" "1" "January 2024" "Gavin D. Howard" "General Commands Manual"
28+
.TH "BC" "1" "August 2024" "Gavin D. Howard" "General Commands Manual"
2929
.nh
3030
.ad l
3131
.SH NAME

manuals/bc/EH.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2626
.\" POSSIBILITY OF SUCH DAMAGE.
2727
.\"
28-
.TH "BC" "1" "January 2024" "Gavin D. Howard" "General Commands Manual"
28+
.TH "BC" "1" "August 2024" "Gavin D. Howard" "General Commands Manual"
2929
.nh
3030
.ad l
3131
.SH NAME

manuals/bc/EHN.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2626
.\" POSSIBILITY OF SUCH DAMAGE.
2727
.\"
28-
.TH "BC" "1" "January 2024" "Gavin D. Howard" "General Commands Manual"
28+
.TH "BC" "1" "August 2024" "Gavin D. Howard" "General Commands Manual"
2929
.nh
3030
.ad l
3131
.SH NAME

manuals/bc/EN.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2626
.\" POSSIBILITY OF SUCH DAMAGE.
2727
.\"
28-
.TH "BC" "1" "January 2024" "Gavin D. Howard" "General Commands Manual"
28+
.TH "BC" "1" "August 2024" "Gavin D. Howard" "General Commands Manual"
2929
.nh
3030
.ad l
3131
.SH NAME

manuals/bc/H.1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2626
.\" POSSIBILITY OF SUCH DAMAGE.
2727
.\"
28-
.TH "BC" "1" "January 2024" "Gavin D. Howard" "General Commands Manual"
28+
.TH "BC" "1" "August 2024" "Gavin D. Howard" "General Commands Manual"
2929
.nh
3030
.ad l
3131
.SH NAME
@@ -1731,7 +1731,7 @@ Functions\f[R] subsection below).
17311731
.RE
17321732
.TP
17331733
\f[B]frand(p)\f[R]
1734-
Generates a pseudo\-random integer between \f[B]0\f[R] (inclusive) and
1734+
Generates a pseudo\-random number between \f[B]0\f[R] (inclusive) and
17351735
\f[B]1\f[R] (exclusive) with the number of decimal digits after the
17361736
decimal point equal to the truncated absolute value of \f[B]p\f[R].
17371737
If \f[B]p\f[R] is not \f[B]0\f[R], then calling this function will
@@ -1740,7 +1740,7 @@ If \f[B]p\f[R] is \f[B]0\f[R], then \f[B]0\f[R] is returned, and
17401740
\f[B]seed\f[R] is \f[I]not\f[R] changed.
17411741
.TP
17421742
\f[B]ifrand(i, p)\f[R]
1743-
Generates a pseudo\-random integer that is between \f[B]0\f[R]
1743+
Generates a pseudo\-random number that is between \f[B]0\f[R]
17441744
(inclusive) and the truncated absolute value of \f[B]i\f[R] (exclusive)
17451745
with the number of decimal digits after the decimal point equal to the
17461746
truncated absolute value of \f[B]p\f[R].

manuals/bc/H.1.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1433,15 +1433,15 @@ The extended library is a **non-portable extension**.
14331433

14341434
**frand(p)**
14351435

1436-
: Generates a pseudo-random integer between **0** (inclusive) and **1**
1436+
: Generates a pseudo-random number between **0** (inclusive) and **1**
14371437
(exclusive) with the number of decimal digits after the decimal point equal
14381438
to the truncated absolute value of **p**. If **p** is not **0**, then
14391439
calling this function will change the value of **seed**. If **p** is **0**,
14401440
then **0** is returned, and **seed** is *not* changed.
14411441

14421442
**ifrand(i, p)**
14431443

1444-
: Generates a pseudo-random integer that is between **0** (inclusive) and the
1444+
: Generates a pseudo-random number that is between **0** (inclusive) and the
14451445
truncated absolute value of **i** (exclusive) with the number of decimal
14461446
digits after the decimal point equal to the truncated absolute value of
14471447
**p**. If the absolute value of **i** is greater than or equal to **2**, and

manuals/bc/HN.1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2626
.\" POSSIBILITY OF SUCH DAMAGE.
2727
.\"
28-
.TH "BC" "1" "January 2024" "Gavin D. Howard" "General Commands Manual"
28+
.TH "BC" "1" "August 2024" "Gavin D. Howard" "General Commands Manual"
2929
.nh
3030
.ad l
3131
.SH NAME
@@ -1731,7 +1731,7 @@ Functions\f[R] subsection below).
17311731
.RE
17321732
.TP
17331733
\f[B]frand(p)\f[R]
1734-
Generates a pseudo\-random integer between \f[B]0\f[R] (inclusive) and
1734+
Generates a pseudo\-random number between \f[B]0\f[R] (inclusive) and
17351735
\f[B]1\f[R] (exclusive) with the number of decimal digits after the
17361736
decimal point equal to the truncated absolute value of \f[B]p\f[R].
17371737
If \f[B]p\f[R] is not \f[B]0\f[R], then calling this function will
@@ -1740,7 +1740,7 @@ If \f[B]p\f[R] is \f[B]0\f[R], then \f[B]0\f[R] is returned, and
17401740
\f[B]seed\f[R] is \f[I]not\f[R] changed.
17411741
.TP
17421742
\f[B]ifrand(i, p)\f[R]
1743-
Generates a pseudo\-random integer that is between \f[B]0\f[R]
1743+
Generates a pseudo\-random number that is between \f[B]0\f[R]
17441744
(inclusive) and the truncated absolute value of \f[B]i\f[R] (exclusive)
17451745
with the number of decimal digits after the decimal point equal to the
17461746
truncated absolute value of \f[B]p\f[R].

0 commit comments

Comments
 (0)