Lines Matching +full:bias +full:- +full:ctrl +full:- +full:value
5 This is a production release that fixes `Ctrl+d` on FreeBSD and Linux when using
9 macOS does not respond properly to `Ctrl+d`.
26 The third bug is that value stack for `dc` was cleared on any error. However,
185 * A crash when attempting to swap characters in command-line history when no
211 The first memory bug could be reproduced by assigning a string to a non-local
213 non-local variable, which would still refer to a string in the previous version
217 built-in function. In certain cases, that was wrongly allowed, and the
221 The first feature was the addition of the `is_number()` built-in function (`u`
224 The second feature was the addition of the `is_string()` built-in function (`t`
227 These features were added because I realized that type-checking is necessary now
231 The last added feature is the ability of the `asciify()` built-in function in
233 character-by-character printing will not be necessary, and more strings than
234 just single-character ones will be able to be created.
245 This is a production release that fixes a build bug for cross-compilation.
247 Users that do not need cross-compilation do ***NOT*** need to upgrade.
253 * The `-l` option overrode the `-S` option.
254 * A double-free and crash when sending a `SIGINT` while executing expressions
255 given on the command-line.
283 environment variables, and it can be set with the `-c` and `-C` command-line
289 the capability for multi-threading. This required a major version bump. I
293 To help with building, a convenience option (`-p`) to `configure.sh` was added
322 editline, pass `-e` to `configure.sh`, and to use readline, pass `-r`.
324 Second, history support for Windows has been fixed and re-enabled.
326 Third, command-line options to set `scale`, `ibase`, `obase`, and `seed` were
352 file to `bc` using `-f` if that file had a multiline comment or string in it.
371 out-of-source builds and a `pkg-config` file for `bcl`.
396 * Fixed a bug with the `bc` banner and `-q`.
398 * Added a command-line flag (`-z`) to make `bc` and `dc` print leading zeroes on
399 numbers `-1 < x < 1`.
402 the use of `-z` or not.
405 * Added a command-line flag (`-L`) to disable wrapping when printing numbers.
452 * Allowed integers with non-zero `scale` to be used with power, places, and
457 * Fixed multi-digit bugs in `lib2.bc`.
464 * Fixed bugs with multi-line comments and strings in both calculators.
468 * Made `bc` and `dc` UTF-8 capable.
493 would not be set to `20` even if `-l` was used.
504 This is a production release with many fixes, a new command-line option, and a
512 * A new command-line option, `-R` and `--no-read-prompt` was added to disable
549 The fixes for manuals fixed a bug where `--` was rendered as `-`.
553 This is a production release that fixes a divide-by-zero bug in `root()` in the
560 The bug was in the reporting of number length when the value was 0.
567 The changed behavior is the treatment of `-e` and `-f` when given through
571 command-line.
575 This is a production release that removes a small non-portable shell operation
579 Non-OpenBSD users do ***NOT*** need to upgrade, although NetBSD users may also
599 out-of-bounds (crash in debug builds). This was found by upgrading to `afl++`
605 Third, some warnings by `scan-build` were found and eliminated. This needed one
609 Fourth, the pseudo-random number now attempts to seed itself with `/dev/random`
612 Finally, this release has a few quality-of-life changes to the build system. The
634 bug was using the GNU `find` extension `-wholename`.
651 This is done with the `-a` option to `configure.sh`. The API for the library can
685 The behavior that was changed is that `bc` now exits when given `-e`, `-f`,
686 `--expression` or `--file`. However, if the last one of those is `-f-` (using
687 `stdin` as the file), `bc` does not exit. If `-f-` exists and is not the last of
688 the `-e` and `-f` options (and equivalents), `bc` gives a fatal error and exits.
693 Finally, I made it so `bc` does not print the header, though the `-q` and
694 `--quiet` options were kept for compatibility with GNU `bc`.
713 For package maintainers wishing to make use of the change, just pass `-l` to
727 The behavior that was adjusted was how code from the `-e` and `-f` arguments
729 in this release, they are now executed line-by-line.
733 clean-up function was not getting called. This release fixes that bug.
818 output the wrong numbers if there was any non-zero digit after.
842 Fifth, the interpreter received a speedup to make performance on non-math-heavy
860 arbitary-precision numbers). If a `BcNum` has the default capacity of
861 `BC_NUM_DEF_SIZE` (32 on 64-bit and 16 on 32-bit) when it is freed, it is added
868 minimum allocation size on Linux, which is either 32 bytes (64-bit musl), 24
869 bytes (64-bit glibc), 16 bytes (32-bit musl), or 12 bytes (32-bit glibc). Since
871 allocated anyway, making it worth it to just use the whole space, so the value
872 of `BC_NUM_DEF_SIZE` on 64-bit systems was changed to 32 bytes.
874 On top of that, at least on 64-bit, `BC_NUM_DEF_SIZE` supports numbers with
882 (For 32-bit, these numbers are either 32 integer digits or 12 integer digits and
884 32-bit system seems a little pointless since 12 digits is just under a trillion
885 and 20 fractional digits is still enough for about any use since `10^-20` light
903 `BC_NUM_DEF_SIZE` bigger on 64-bit systems, since the vast majority of numbers
908 from a polling approach to signal handling to an interrupt-based approach.
930 builds will be smaller, but non-static builds will be bigger, though they will
946 unwinding is well-tested. (Errors are tested heavily in the test suite.)
958 The `length()` built-in function can take either a number or an array. If it
995 There is only one new feature: **`bc` now has a built-in pseudo-random number
1003 It also outputs 32 bits on 32-bit platforms and 64 bits on 64-bit platforms, far
1007 automatically adjusts to remove bias. It can also generate numbers of arbitrary
1008 size. (As of the time of release, the largest pseudo-random number generated by
1023 * `brand()`: Returns a random boolean value (either `0` or `1`).
1063 CC="gcc -O3 -march=native" ./configure.sh
1068 and `CFLAGS` will be "-O3 -march=native".
1094 * `dc` startup was optimized by making sure it didn't have to set up `bc`-only
1098 * `dc` macros were changed to be tail call-optimized.
1116 This is a production release. It fixes a bug that caused `-1000000000 < -1` to
1117 return `0`. This only happened with negative numbers and only if the value on
1140 This is a non-critical release; it just changes the build system, and in
1141 non-breaking ways:
1172 3. Bugs in `ctrl+arrow` operations in history were fixed.
1208 This is a production, bug-fix release.
1239 billion (`2^31-1`) `SIGINT`'s, but I saw it and had to fix it.
1247 3. **The `-P`/`--no-prompt` option** was added for users that do not want a
1266 3. A **POSIX shell-compatible script was added as an alternative to compiling
1268 between the two can be found by running `./configure.sh --help` or reading
1275 7. `dc` was also given the ability to **use the `-i` or `--interactive`**
1280 11. The **built-in functions `maxibase()`, `maxobase()`, and `maxscale()`** (the
1305 shell-compatible, and also updates a man page that should have been updated a
1339 with the `-g` command-line option. (See the [`bc` manual][9] for more
1381 shell-compatible configure script ([`configure.sh`][6]) to generate a POSIX
1382 make-compatible `Makefile`, which means that `bc` and `dc` now build out of
1383 the box on any POSIX-compatible system.
1384 2. Out-of-memory and output errors now cause the `bc` to report the error,
1398 [UTF-8 aware fork][7] of [`linenoise`][8], which has been customized with
1413 20. **GNU-style array references were added as a supported feature.**
1422 25. **Support for GNU-style void functions was added.**
1477 This is the first non-beta release. `bc` is ready for production use.
1515 18. `bc` was made fully compliant with POSIX when the `-s` flag is used or
1569 [1]: https://docs.microsoft.com/en-us/windows/wsl/install-win10
1575 [7]: https://github.com/rain-1/linenoise-mob
1579 [11]: https://scan.coverity.com/projects/gavinhoward-bc
1584 [16]: ./manuals/bc/A.1.md#extended-library
1588 [20]: https://github.com/apjanke/ronn-ng