Merge commit 2f57ecae4b
This is a new major release with a number of changes and extensions:
- Limited the number of temporary numbers and made the space for them
static so that allocating more space for them cannot fail.
- Allowed integers with non-zero scale to be used with power, places,
and shift operators.
- Added greatest common divisor and least common multiple to lib2.bc.
- Made bc and dc UTF-8 capable.
- Added the ability for users to have bc and dc quit on SIGINT.
- Added the ability for users to disable prompt and TTY mode by
environment variables.
- Added the ability for users to redefine keywords.
- Added dc's modular exponentiation and divmod to bc.
- Added the ability to assign strings to variables and array elements
and pass them to functions in bc.
- Added dc's asciify command and stream printing to bc.
- Added bitwise and, or, xor, left shift, right shift, reverse,
left rotate, right rotate, and mod functions to lib2.bc.
- Added the functions s2u(x) and s2un(x,n), to lib2.bc.
MFC after: 1 week
132 lines
1.8 KiB
Plaintext
132 lines
1.8 KiB
Plaintext
0ZpR
|
|
0.0000ZpR
|
|
0.00000000ZpR
|
|
0.00000000000ZpR
|
|
1ZpR
|
|
12ZpR
|
|
123ZpR
|
|
1234ZpR
|
|
12345ZpR
|
|
123456ZpR
|
|
1234567ZpR
|
|
12345678ZpR
|
|
123456789ZpR
|
|
1234567890ZpR
|
|
1.0ZpR
|
|
12.0ZpR
|
|
123.0ZpR
|
|
1234.0ZpR
|
|
12345.0ZpR
|
|
123456.0ZpR
|
|
1234567.0ZpR
|
|
12345678.0ZpR
|
|
123456789.0ZpR
|
|
1234567890.0ZpR
|
|
.1ZpR
|
|
.12ZpR
|
|
.123ZpR
|
|
.1234ZpR
|
|
.12345ZpR
|
|
.123456ZpR
|
|
.1234567ZpR
|
|
.12345678ZpR
|
|
.123456789ZpR
|
|
.1234567890ZpR
|
|
.01ZpR
|
|
.012ZpR
|
|
.0123ZpR
|
|
.01234ZpR
|
|
.012345ZpR
|
|
.0123456ZpR
|
|
.01234567ZpR
|
|
.012345678ZpR
|
|
.0123456789ZpR
|
|
.01234567890ZpR
|
|
.001ZpR
|
|
.0012ZpR
|
|
.00123ZpR
|
|
.001234ZpR
|
|
.0012345ZpR
|
|
.00123456ZpR
|
|
.001234567ZpR
|
|
.0012345678ZpR
|
|
.00123456789ZpR
|
|
.001234567890ZpR
|
|
.0001ZpR
|
|
.00012ZpR
|
|
.000123ZpR
|
|
.0001234ZpR
|
|
.00012345ZpR
|
|
.000123456ZpR
|
|
.0001234567ZpR
|
|
.00012345678ZpR
|
|
.000123456789ZpR
|
|
.0001234567890ZpR
|
|
.00001ZpR
|
|
.000012ZpR
|
|
.0000123ZpR
|
|
.00001234ZpR
|
|
.000012345ZpR
|
|
.0000123456ZpR
|
|
.00001234567ZpR
|
|
.000012345678ZpR
|
|
.0000123456789ZpR
|
|
.00001234567890ZpR
|
|
.000001ZpR
|
|
.0000012ZpR
|
|
.00000123ZpR
|
|
.000001234ZpR
|
|
.0000012345ZpR
|
|
.00000123456ZpR
|
|
.000001234567ZpR
|
|
.0000012345678ZpR
|
|
.00000123456789ZpR
|
|
.000001234567890ZpR
|
|
.0000001ZpR
|
|
.00000012ZpR
|
|
.000000123ZpR
|
|
.0000001234ZpR
|
|
.00000012345ZpR
|
|
.000000123456ZpR
|
|
.0000001234567ZpR
|
|
.00000012345678ZpR
|
|
.000000123456789ZpR
|
|
.0000001234567890ZpR
|
|
.00000001ZpR
|
|
.000000012ZpR
|
|
.0000000123ZpR
|
|
.00000001234ZpR
|
|
.000000012345ZpR
|
|
.0000000123456ZpR
|
|
.00000001234567ZpR
|
|
.000000012345678ZpR
|
|
.0000000123456789ZpR
|
|
.00000001234567890ZpR
|
|
.000000001ZpR
|
|
.0000000012ZpR
|
|
.00000000123ZpR
|
|
.000000001234ZpR
|
|
.0000000012345ZpR
|
|
.00000000123456ZpR
|
|
.000000001234567ZpR
|
|
.0000000012345678ZpR
|
|
.00000000123456789ZpR
|
|
.000000001234567890ZpR
|
|
.0000000001ZpR
|
|
.00000000012ZpR
|
|
.000000000123ZpR
|
|
.0000000001234ZpR
|
|
.00000000012345ZpR
|
|
.000000000123456ZpR
|
|
.0000000001234567ZpR
|
|
.00000000012345678ZpR
|
|
.000000000123456789ZpR
|
|
.0000000001234567890ZpR
|
|
289.29837ZpR
|
|
2893.00000ZpR
|
|
289.0ZpR
|
|
1802973.0000000238ZpR
|
|
.000000000000000093182394080000000000ZpR
|
|
YapR
|
|
5 15:aYapR
|