aboutsummaryrefslogtreecommitdiff
path: root/manuals/bc/H.1
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2024-09-18 05:55:46 +0000
committerStefan Eßer <se@FreeBSD.org>2024-09-18 05:55:46 +0000
commitc2c85f88902d18d2e9702381f1628112e15a5c3c (patch)
tree50666ca2f52a79094e8694094037213e84145c84 /manuals/bc/H.1
parent1e19146fc7692f59e8dfc5da7957e938cd0b81b8 (diff)
vendor/bc: upgrade to version 7.0.2vendor/bc/7.0.2
This update fixes exiting from an interactive bc session with ^D on FreeBSD and Linux when using editline. This bug was caused by the macOS fix for editline in version 7.0.0, which has been reverted in this version.
Diffstat (limited to 'manuals/bc/H.1')
-rw-r--r--manuals/bc/H.16
1 files changed, 3 insertions, 3 deletions
diff --git a/manuals/bc/H.1 b/manuals/bc/H.1
index 4787435ae052..9dc46ee50dee 100644
--- a/manuals/bc/H.1
+++ b/manuals/bc/H.1
@@ -25,7 +25,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.TH "BC" "1" "January 2024" "Gavin D. Howard" "General Commands Manual"
+.TH "BC" "1" "August 2024" "Gavin D. Howard" "General Commands Manual"
.nh
.ad l
.SH NAME
@@ -1731,7 +1731,7 @@ Functions\f[R] subsection below).
.RE
.TP
\f[B]frand(p)\f[R]
-Generates a pseudo\-random integer between \f[B]0\f[R] (inclusive) and
+Generates a pseudo\-random number between \f[B]0\f[R] (inclusive) and
\f[B]1\f[R] (exclusive) with the number of decimal digits after the
decimal point equal to the truncated absolute value of \f[B]p\f[R].
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
\f[B]seed\f[R] is \f[I]not\f[R] changed.
.TP
\f[B]ifrand(i, p)\f[R]
-Generates a pseudo\-random integer that is between \f[B]0\f[R]
+Generates a pseudo\-random number that is between \f[B]0\f[R]
(inclusive) and the truncated absolute value of \f[B]i\f[R] (exclusive)
with the number of decimal digits after the decimal point equal to the
truncated absolute value of \f[B]p\f[R].