Lines Matching refs:bc
3 This `bc` attempts to be as portable as possible. It can be built on any
9 The general form of configuring, building, and installing this `bc` is as
42 For releases, Windows builds of `bc`, `dc`, and `bcl` are available for download
43 from <https://git.gavinhoward.com/gavin/bc> and GitHub.
45 However, if you wish to build it yourself, this `bc` can be built using Visual
57 In Visual Studio, open up the solution file (`bc.sln` for `bc`, or `bcl.sln` for
65 To build `bc`, run the following from the root directory:
68 msbuild -property:Configuration=<config> vs/bc.sln
83 Building `bc`, `dc`, and `bcl` (the library) is more complex than on Windows
92 For example, if the source is in `bc`, the build should happen in `build`, then
96 ../bc/configure.sh
105 To cross-compile this `bc`, an appropriate compiler must be present and assigned
133 This `bc` supports `CC`, `HOSTCC`, `HOST_CC`, `CFLAGS`, `HOSTCFLAGS`,
272 The directory to install Section 1 manpages in. Because both `bc` and `dc` are
290 packagers and distro maintainers who want this `bc` as an option, but do not
291 want to replace the default `bc`.
298 This is for packagers and distro maintainers who want this `bc` as an option,
299 but do not want to replace the default `bc`.
307 This `bc` uses `long`s internally for overflow checking. In C99, a `long` is
315 compliance with the `bc` spec, the minimum allowed value is `32`.
326 machine since `gen/strgen.sh` is a POSIX shell script. However, `gen/lib2.bc` is
349 This `bc` comes with several build options, all of which are enabled by default.
364 To quickly get a release build of a `bc` and `dc` that is (by default)
365 compatible with the BSD `bc` and `dc`, use the `-p` or `--predefined-build-type`
375 To quickly get a release build of a `bc` and `dc` that is (by default)
376 compatible with the GNU `bc` and `dc`, use the `-p` or `--predefined-build-type`
398 functionality for `bc` and `dc` are both enabled, though the executables are
409 #### `bc` Only
411 To build `bc` only (no `dc`), use any one of the following commands for the
416 ./configure.sh --bc-only
423 ***Warning***: It is an error to use those options if `bc` has also been
428 To build `dc` only (no `bc`), use either one of the following commands for the
435 ./configure.sh --disable-bc
455 ***WARNING***: Of all of the code in the `bc`, this is the only code that is not
456 completely portable. If the `bc` does not work on your platform, your first step
546 This `bc` has 7 extra operators:
561 In addition, this `bc` has the option of outputting in scientific notation or
577 This `bc` also has a larger library that is only enabled if extra operators and
585 The Karatsuba length is the point at which `bc` and `dc` switch from Karatsuba
604 This `bc` and `dc` have a few settings to override default behavior.
613 ./configure.sh -s bc.banner
614 ./configure.sh --set-default-on=bc.banner
623 ./configure.sh -S bc.banner
624 ./configure.sh --set-default-off=bc.banner
639 | bc.banner | Whether to display | 0 | BC_BANNER |
640 | | the bc version | | |
644 | bc.sigint_reset | Whether SIGINT will | 1 | BC_SIGINT_RESET |
645 | | reset bc, instead of | | |
654 | bc.tty_mode | Whether TTY mode for | 1 | BC_TTY_MODE |
655 | | bc should be on when | | |
662 | bc.prompt | Whether the prompt | $BC_TTY_MODE | BC_PROMPT |
663 | | for bc should be on | | |
670 | bc.expr_exit | Whether to exit bc | 1 | BC_EXPR_EXIT |
682 | bc.digit_clamp | Whether to have bc | 0 | BC_DIGIT_CLAMP |
699 that this bc and dc will conform to the expectations of the user on each
750 By default, `bc` and `dc` do not install all locales, but only the enabled
753 option skips all of that and just installs all of the locales that `bc` and `dc`
771 compiler. Because `bc` is orders of magnitude faster with optimization, I
803 `bc`'s performance.
830 By default, when `bc` and `dc` are not built in debug mode, the binaries are
850 `bc` and `dc` have 8 build types, affected by the [History][8], [NLS (Locale
864 These build types correspond to the generated manuals in `manuals/bc` and
874 The single largest user of space is the `bc` calculator. If just `dc` is needed,
883 * `dc`'s lexer and parser are *tiny* compared to `bc`'s because `dc` code is
884 almost already in the form that it is executed in, while `bc` has to not only
905 The next biggest user is `dc`, so if just `bc` is needed, the size can be
924 To test `bc` only, run the following command:
936 This `bc`, if built, assumes a working, GNU-compatible `bc`, installed on the
966 ***WARNING***: Both `bc` and `dc` must be built for test coverage. Otherwise,
985 [1]: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/bc.html
986 [2]: https://www.gnu.org/software/bc/