diff options
author | Gavin Howard <gavin@yzena.com> | 2021-07-10 19:04:50 -0600 |
---|---|---|
committer | Gavin Howard <gavin@yzena.com> | 2021-07-10 19:04:50 -0600 |
commit | d57f7c49c34b2f70814a61c8f553b404bfcffe19 (patch) | |
tree | 44914db386242cfcf0849b14114f51c1398f9d8c | |
parent | 3c7ce5bd3d498cedf4365f18549c2cf0fa487842 (diff) | |
download | platform_external_bc-d57f7c49c34b2f70814a61c8f553b404bfcffe19.tar.gz platform_external_bc-d57f7c49c34b2f70814a61c8f553b404bfcffe19.tar.bz2 platform_external_bc-d57f7c49c34b2f70814a61c8f553b404bfcffe19.zip |
Tweak the dc manuals for an upcoming change
Signed-off-by: Gavin Howard <gavin@yzena.com>
-rw-r--r-- | manuals/dc.1.md.in | 8 | ||||
-rw-r--r-- | manuals/dc/A.1 | 7 | ||||
-rw-r--r-- | manuals/dc/A.1.md | 8 | ||||
-rw-r--r-- | manuals/dc/E.1 | 7 | ||||
-rw-r--r-- | manuals/dc/E.1.md | 8 | ||||
-rw-r--r-- | manuals/dc/EH.1 | 7 | ||||
-rw-r--r-- | manuals/dc/EH.1.md | 8 | ||||
-rw-r--r-- | manuals/dc/EHN.1 | 7 | ||||
-rw-r--r-- | manuals/dc/EHN.1.md | 8 | ||||
-rw-r--r-- | manuals/dc/EN.1 | 7 | ||||
-rw-r--r-- | manuals/dc/EN.1.md | 8 | ||||
-rw-r--r-- | manuals/dc/H.1 | 7 | ||||
-rw-r--r-- | manuals/dc/H.1.md | 8 | ||||
-rw-r--r-- | manuals/dc/HN.1 | 7 | ||||
-rw-r--r-- | manuals/dc/HN.1.md | 8 | ||||
-rw-r--r-- | manuals/dc/N.1 | 7 | ||||
-rw-r--r-- | manuals/dc/N.1.md | 8 |
17 files changed, 60 insertions, 68 deletions
diff --git a/manuals/dc.1.md.in b/manuals/dc.1.md.in index f1d1b50f..f302afa9 100644 --- a/manuals/dc.1.md.in +++ b/manuals/dc.1.md.in @@ -316,7 +316,7 @@ Printing numbers in scientific notation and/or engineering notation is a : Pops a value off the stack. If the value is a number, it is truncated and the absolute value of the - result is printed as though **obase** is **UCHAR_MAX+1** and each digit is + result is printed as though **obase** is **256** and each digit is interpreted as an ASCII character, making it a byte stream. If the value is a string, it is printed without a trailing newline. @@ -758,9 +758,9 @@ will be printed with a newline after and then popped from the stack. : The value on top of the stack is popped. If it is a number, it is truncated and its absolute value is taken. The - result mod **UCHAR_MAX+1** is calculated. If that result is **0**, push an - empty string; otherwise, push a one-character string where the character is - the result of the mod interpreted as an ASCII character. + result mod **256** is calculated. If that result is **0**, push an empty + string; otherwise, push a one-character string where the character is the + result of the mod interpreted as an ASCII character. If it is a string, then a new string is made. If the original string is empty, the new string is empty. If it is not, then the first character of diff --git a/manuals/dc/A.1 b/manuals/dc/A.1 index 91879acc..c4a19372 100644 --- a/manuals/dc/A.1 +++ b/manuals/dc/A.1 @@ -354,9 +354,8 @@ Pops a value off the stack. .RS .PP If the value is a number, it is truncated and the absolute value of the -result is printed as though \f[B]obase\f[R] is \f[B]UCHAR_MAX+1\f[R] and -each digit is interpreted as an ASCII character, making it a byte -stream. +result is printed as though \f[B]obase\f[R] is \f[B]256\f[R] and each +digit is interpreted as an ASCII character, making it a byte stream. .PP If the value is a string, it is printed without a trailing newline. .PP @@ -833,7 +832,7 @@ The value on top of the stack is popped. .RS .PP If it is a number, it is truncated and its absolute value is taken. -The result mod \f[B]UCHAR_MAX+1\f[R] is calculated. +The result mod \f[B]256\f[R] is calculated. If that result is \f[B]0\f[R], push an empty string; otherwise, push a one-character string where the character is the result of the mod interpreted as an ASCII character. diff --git a/manuals/dc/A.1.md b/manuals/dc/A.1.md index f8eacf78..d71ba216 100644 --- a/manuals/dc/A.1.md +++ b/manuals/dc/A.1.md @@ -305,7 +305,7 @@ Printing numbers in scientific notation and/or engineering notation is a : Pops a value off the stack. If the value is a number, it is truncated and the absolute value of the - result is printed as though **obase** is **UCHAR_MAX+1** and each digit is + result is printed as though **obase** is **256** and each digit is interpreted as an ASCII character, making it a byte stream. If the value is a string, it is printed without a trailing newline. @@ -725,9 +725,9 @@ will be printed with a newline after and then popped from the stack. : The value on top of the stack is popped. If it is a number, it is truncated and its absolute value is taken. The - result mod **UCHAR_MAX+1** is calculated. If that result is **0**, push an - empty string; otherwise, push a one-character string where the character is - the result of the mod interpreted as an ASCII character. + result mod **256** is calculated. If that result is **0**, push an empty + string; otherwise, push a one-character string where the character is the + result of the mod interpreted as an ASCII character. If it is a string, then a new string is made. If the original string is empty, the new string is empty. If it is not, then the first character of diff --git a/manuals/dc/E.1 b/manuals/dc/E.1 index ecc56e99..b2e27b69 100644 --- a/manuals/dc/E.1 +++ b/manuals/dc/E.1 @@ -285,9 +285,8 @@ Pops a value off the stack. .RS .PP If the value is a number, it is truncated and the absolute value of the -result is printed as though \f[B]obase\f[R] is \f[B]UCHAR_MAX+1\f[R] and -each digit is interpreted as an ASCII character, making it a byte -stream. +result is printed as though \f[B]obase\f[R] is \f[B]256\f[R] and each +digit is interpreted as an ASCII character, making it a byte stream. .PP If the value is a string, it is printed without a trailing newline. .PP @@ -633,7 +632,7 @@ The value on top of the stack is popped. .RS .PP If it is a number, it is truncated and its absolute value is taken. -The result mod \f[B]UCHAR_MAX+1\f[R] is calculated. +The result mod \f[B]256\f[R] is calculated. If that result is \f[B]0\f[R], push an empty string; otherwise, push a one-character string where the character is the result of the mod interpreted as an ASCII character. diff --git a/manuals/dc/E.1.md b/manuals/dc/E.1.md index 6e325370..99de9ef8 100644 --- a/manuals/dc/E.1.md +++ b/manuals/dc/E.1.md @@ -252,7 +252,7 @@ These commands are used for printing. : Pops a value off the stack. If the value is a number, it is truncated and the absolute value of the - result is printed as though **obase** is **UCHAR_MAX+1** and each digit is + result is printed as though **obase** is **256** and each digit is interpreted as an ASCII character, making it a byte stream. If the value is a string, it is printed without a trailing newline. @@ -565,9 +565,9 @@ will be printed with a newline after and then popped from the stack. : The value on top of the stack is popped. If it is a number, it is truncated and its absolute value is taken. The - result mod **UCHAR_MAX+1** is calculated. If that result is **0**, push an - empty string; otherwise, push a one-character string where the character is - the result of the mod interpreted as an ASCII character. + result mod **256** is calculated. If that result is **0**, push an empty + string; otherwise, push a one-character string where the character is the + result of the mod interpreted as an ASCII character. If it is a string, then a new string is made. If the original string is empty, the new string is empty. If it is not, then the first character of diff --git a/manuals/dc/EH.1 b/manuals/dc/EH.1 index aa662aa3..4e7ceffb 100644 --- a/manuals/dc/EH.1 +++ b/manuals/dc/EH.1 @@ -285,9 +285,8 @@ Pops a value off the stack. .RS .PP If the value is a number, it is truncated and the absolute value of the -result is printed as though \f[B]obase\f[R] is \f[B]UCHAR_MAX+1\f[R] and -each digit is interpreted as an ASCII character, making it a byte -stream. +result is printed as though \f[B]obase\f[R] is \f[B]256\f[R] and each +digit is interpreted as an ASCII character, making it a byte stream. .PP If the value is a string, it is printed without a trailing newline. .PP @@ -633,7 +632,7 @@ The value on top of the stack is popped. .RS .PP If it is a number, it is truncated and its absolute value is taken. -The result mod \f[B]UCHAR_MAX+1\f[R] is calculated. +The result mod \f[B]256\f[R] is calculated. If that result is \f[B]0\f[R], push an empty string; otherwise, push a one-character string where the character is the result of the mod interpreted as an ASCII character. diff --git a/manuals/dc/EH.1.md b/manuals/dc/EH.1.md index 05e870f7..3413b6ca 100644 --- a/manuals/dc/EH.1.md +++ b/manuals/dc/EH.1.md @@ -252,7 +252,7 @@ These commands are used for printing. : Pops a value off the stack. If the value is a number, it is truncated and the absolute value of the - result is printed as though **obase** is **UCHAR_MAX+1** and each digit is + result is printed as though **obase** is **256** and each digit is interpreted as an ASCII character, making it a byte stream. If the value is a string, it is printed without a trailing newline. @@ -565,9 +565,9 @@ will be printed with a newline after and then popped from the stack. : The value on top of the stack is popped. If it is a number, it is truncated and its absolute value is taken. The - result mod **UCHAR_MAX+1** is calculated. If that result is **0**, push an - empty string; otherwise, push a one-character string where the character is - the result of the mod interpreted as an ASCII character. + result mod **256** is calculated. If that result is **0**, push an empty + string; otherwise, push a one-character string where the character is the + result of the mod interpreted as an ASCII character. If it is a string, then a new string is made. If the original string is empty, the new string is empty. If it is not, then the first character of diff --git a/manuals/dc/EHN.1 b/manuals/dc/EHN.1 index 5439163d..41788000 100644 --- a/manuals/dc/EHN.1 +++ b/manuals/dc/EHN.1 @@ -285,9 +285,8 @@ Pops a value off the stack. .RS .PP If the value is a number, it is truncated and the absolute value of the -result is printed as though \f[B]obase\f[R] is \f[B]UCHAR_MAX+1\f[R] and -each digit is interpreted as an ASCII character, making it a byte -stream. +result is printed as though \f[B]obase\f[R] is \f[B]256\f[R] and each +digit is interpreted as an ASCII character, making it a byte stream. .PP If the value is a string, it is printed without a trailing newline. .PP @@ -633,7 +632,7 @@ The value on top of the stack is popped. .RS .PP If it is a number, it is truncated and its absolute value is taken. -The result mod \f[B]UCHAR_MAX+1\f[R] is calculated. +The result mod \f[B]256\f[R] is calculated. If that result is \f[B]0\f[R], push an empty string; otherwise, push a one-character string where the character is the result of the mod interpreted as an ASCII character. diff --git a/manuals/dc/EHN.1.md b/manuals/dc/EHN.1.md index ff81ec8b..428e30b2 100644 --- a/manuals/dc/EHN.1.md +++ b/manuals/dc/EHN.1.md @@ -252,7 +252,7 @@ These commands are used for printing. : Pops a value off the stack. If the value is a number, it is truncated and the absolute value of the - result is printed as though **obase** is **UCHAR_MAX+1** and each digit is + result is printed as though **obase** is **256** and each digit is interpreted as an ASCII character, making it a byte stream. If the value is a string, it is printed without a trailing newline. @@ -565,9 +565,9 @@ will be printed with a newline after and then popped from the stack. : The value on top of the stack is popped. If it is a number, it is truncated and its absolute value is taken. The - result mod **UCHAR_MAX+1** is calculated. If that result is **0**, push an - empty string; otherwise, push a one-character string where the character is - the result of the mod interpreted as an ASCII character. + result mod **256** is calculated. If that result is **0**, push an empty + string; otherwise, push a one-character string where the character is the + result of the mod interpreted as an ASCII character. If it is a string, then a new string is made. If the original string is empty, the new string is empty. If it is not, then the first character of diff --git a/manuals/dc/EN.1 b/manuals/dc/EN.1 index 39078b1a..108a93e9 100644 --- a/manuals/dc/EN.1 +++ b/manuals/dc/EN.1 @@ -285,9 +285,8 @@ Pops a value off the stack. .RS .PP If the value is a number, it is truncated and the absolute value of the -result is printed as though \f[B]obase\f[R] is \f[B]UCHAR_MAX+1\f[R] and -each digit is interpreted as an ASCII character, making it a byte -stream. +result is printed as though \f[B]obase\f[R] is \f[B]256\f[R] and each +digit is interpreted as an ASCII character, making it a byte stream. .PP If the value is a string, it is printed without a trailing newline. .PP @@ -633,7 +632,7 @@ The value on top of the stack is popped. .RS .PP If it is a number, it is truncated and its absolute value is taken. -The result mod \f[B]UCHAR_MAX+1\f[R] is calculated. +The result mod \f[B]256\f[R] is calculated. If that result is \f[B]0\f[R], push an empty string; otherwise, push a one-character string where the character is the result of the mod interpreted as an ASCII character. diff --git a/manuals/dc/EN.1.md b/manuals/dc/EN.1.md index b820c1c7..4c3c11ac 100644 --- a/manuals/dc/EN.1.md +++ b/manuals/dc/EN.1.md @@ -252,7 +252,7 @@ These commands are used for printing. : Pops a value off the stack. If the value is a number, it is truncated and the absolute value of the - result is printed as though **obase** is **UCHAR_MAX+1** and each digit is + result is printed as though **obase** is **256** and each digit is interpreted as an ASCII character, making it a byte stream. If the value is a string, it is printed without a trailing newline. @@ -565,9 +565,9 @@ will be printed with a newline after and then popped from the stack. : The value on top of the stack is popped. If it is a number, it is truncated and its absolute value is taken. The - result mod **UCHAR_MAX+1** is calculated. If that result is **0**, push an - empty string; otherwise, push a one-character string where the character is - the result of the mod interpreted as an ASCII character. + result mod **256** is calculated. If that result is **0**, push an empty + string; otherwise, push a one-character string where the character is the + result of the mod interpreted as an ASCII character. If it is a string, then a new string is made. If the original string is empty, the new string is empty. If it is not, then the first character of diff --git a/manuals/dc/H.1 b/manuals/dc/H.1 index 92933040..b71fc304 100644 --- a/manuals/dc/H.1 +++ b/manuals/dc/H.1 @@ -354,9 +354,8 @@ Pops a value off the stack. .RS .PP If the value is a number, it is truncated and the absolute value of the -result is printed as though \f[B]obase\f[R] is \f[B]UCHAR_MAX+1\f[R] and -each digit is interpreted as an ASCII character, making it a byte -stream. +result is printed as though \f[B]obase\f[R] is \f[B]256\f[R] and each +digit is interpreted as an ASCII character, making it a byte stream. .PP If the value is a string, it is printed without a trailing newline. .PP @@ -833,7 +832,7 @@ The value on top of the stack is popped. .RS .PP If it is a number, it is truncated and its absolute value is taken. -The result mod \f[B]UCHAR_MAX+1\f[R] is calculated. +The result mod \f[B]256\f[R] is calculated. If that result is \f[B]0\f[R], push an empty string; otherwise, push a one-character string where the character is the result of the mod interpreted as an ASCII character. diff --git a/manuals/dc/H.1.md b/manuals/dc/H.1.md index 00a6059b..aa73b7ec 100644 --- a/manuals/dc/H.1.md +++ b/manuals/dc/H.1.md @@ -305,7 +305,7 @@ Printing numbers in scientific notation and/or engineering notation is a : Pops a value off the stack. If the value is a number, it is truncated and the absolute value of the - result is printed as though **obase** is **UCHAR_MAX+1** and each digit is + result is printed as though **obase** is **256** and each digit is interpreted as an ASCII character, making it a byte stream. If the value is a string, it is printed without a trailing newline. @@ -725,9 +725,9 @@ will be printed with a newline after and then popped from the stack. : The value on top of the stack is popped. If it is a number, it is truncated and its absolute value is taken. The - result mod **UCHAR_MAX+1** is calculated. If that result is **0**, push an - empty string; otherwise, push a one-character string where the character is - the result of the mod interpreted as an ASCII character. + result mod **256** is calculated. If that result is **0**, push an empty + string; otherwise, push a one-character string where the character is the + result of the mod interpreted as an ASCII character. If it is a string, then a new string is made. If the original string is empty, the new string is empty. If it is not, then the first character of diff --git a/manuals/dc/HN.1 b/manuals/dc/HN.1 index b51b64f1..c0d0a952 100644 --- a/manuals/dc/HN.1 +++ b/manuals/dc/HN.1 @@ -354,9 +354,8 @@ Pops a value off the stack. .RS .PP If the value is a number, it is truncated and the absolute value of the -result is printed as though \f[B]obase\f[R] is \f[B]UCHAR_MAX+1\f[R] and -each digit is interpreted as an ASCII character, making it a byte -stream. +result is printed as though \f[B]obase\f[R] is \f[B]256\f[R] and each +digit is interpreted as an ASCII character, making it a byte stream. .PP If the value is a string, it is printed without a trailing newline. .PP @@ -833,7 +832,7 @@ The value on top of the stack is popped. .RS .PP If it is a number, it is truncated and its absolute value is taken. -The result mod \f[B]UCHAR_MAX+1\f[R] is calculated. +The result mod \f[B]256\f[R] is calculated. If that result is \f[B]0\f[R], push an empty string; otherwise, push a one-character string where the character is the result of the mod interpreted as an ASCII character. diff --git a/manuals/dc/HN.1.md b/manuals/dc/HN.1.md index 4fed3bee..0c613b6b 100644 --- a/manuals/dc/HN.1.md +++ b/manuals/dc/HN.1.md @@ -305,7 +305,7 @@ Printing numbers in scientific notation and/or engineering notation is a : Pops a value off the stack. If the value is a number, it is truncated and the absolute value of the - result is printed as though **obase** is **UCHAR_MAX+1** and each digit is + result is printed as though **obase** is **256** and each digit is interpreted as an ASCII character, making it a byte stream. If the value is a string, it is printed without a trailing newline. @@ -725,9 +725,9 @@ will be printed with a newline after and then popped from the stack. : The value on top of the stack is popped. If it is a number, it is truncated and its absolute value is taken. The - result mod **UCHAR_MAX+1** is calculated. If that result is **0**, push an - empty string; otherwise, push a one-character string where the character is - the result of the mod interpreted as an ASCII character. + result mod **256** is calculated. If that result is **0**, push an empty + string; otherwise, push a one-character string where the character is the + result of the mod interpreted as an ASCII character. If it is a string, then a new string is made. If the original string is empty, the new string is empty. If it is not, then the first character of diff --git a/manuals/dc/N.1 b/manuals/dc/N.1 index 2ad13e90..7f453a7f 100644 --- a/manuals/dc/N.1 +++ b/manuals/dc/N.1 @@ -354,9 +354,8 @@ Pops a value off the stack. .RS .PP If the value is a number, it is truncated and the absolute value of the -result is printed as though \f[B]obase\f[R] is \f[B]UCHAR_MAX+1\f[R] and -each digit is interpreted as an ASCII character, making it a byte -stream. +result is printed as though \f[B]obase\f[R] is \f[B]256\f[R] and each +digit is interpreted as an ASCII character, making it a byte stream. .PP If the value is a string, it is printed without a trailing newline. .PP @@ -833,7 +832,7 @@ The value on top of the stack is popped. .RS .PP If it is a number, it is truncated and its absolute value is taken. -The result mod \f[B]UCHAR_MAX+1\f[R] is calculated. +The result mod \f[B]256\f[R] is calculated. If that result is \f[B]0\f[R], push an empty string; otherwise, push a one-character string where the character is the result of the mod interpreted as an ASCII character. diff --git a/manuals/dc/N.1.md b/manuals/dc/N.1.md index 40289260..8551c546 100644 --- a/manuals/dc/N.1.md +++ b/manuals/dc/N.1.md @@ -305,7 +305,7 @@ Printing numbers in scientific notation and/or engineering notation is a : Pops a value off the stack. If the value is a number, it is truncated and the absolute value of the - result is printed as though **obase** is **UCHAR_MAX+1** and each digit is + result is printed as though **obase** is **256** and each digit is interpreted as an ASCII character, making it a byte stream. If the value is a string, it is printed without a trailing newline. @@ -725,9 +725,9 @@ will be printed with a newline after and then popped from the stack. : The value on top of the stack is popped. If it is a number, it is truncated and its absolute value is taken. The - result mod **UCHAR_MAX+1** is calculated. If that result is **0**, push an - empty string; otherwise, push a one-character string where the character is - the result of the mod interpreted as an ASCII character. + result mod **256** is calculated. If that result is **0**, push an empty + string; otherwise, push a one-character string where the character is the + result of the mod interpreted as an ASCII character. If it is a string, then a new string is made. If the original string is empty, the new string is empty. If it is not, then the first character of |