GNU Command Line Calculator
bc is an interpreter that supports numbers of arbitrary precision and
the interactive execution of statements. The syntax has some
similarities to the C programming language. A standard math library is
available through command line options. When used, the math library is
read in before any other input files. bc then reads in all other files
from the command line, evaluating their contents. Then bc reads from
standard input (usually the keyboard).
The dc program is also included. dc is a calculator that supports
reverse-polish notation and allows unlimited precision arithmetic.
Macros can also be defined. Normally, dc reads from standard input but
can also read in files specified on the command line. A calculator with
reverse-polish notation saves numbers to a stack. Arguments to
mathematical operations (operands) are "pushed" onto the stack until
the next operator is read in, which "pops" its arguments off the stack
and "pushes" its results back onto the stack.
- Developed at Base:System
-
5
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Factory/bc && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
bc-1.06-decl.diff | 0000000265 265 Bytes | |
bc-1.06-flex.diff | 0000000286 286 Bytes | |
bc-1.06-opt-expression.diff | 0000000571 571 Bytes | |
bc-1.06-strict-aliasing.diff | 0000000308 308 Bytes | |
bc-1.06.dif | 0000001444 1.41 KB | |
bc-1.06.tar.bz2 | 0000230980 226 KB | |
bc-1.06_getopt.patch | 0000000210 210 Bytes | |
bc.changes | 0000004828 4.71 KB | |
bc.spec | 0000005628 5.5 KB |
Comments 0