Package "bc"


GNU bc - command line calculator

bc is an interpreter that supports numbers of arbitrary precision and the interactive execution of statements. There are some similarities in the syntax 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 which supports reverse-polish notation and allows unlimited precision arithmetic. Macros can also be defined. Normally, dc reads from standard in 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.


Autor: Philip A. Nelson <phil@cs.wwu.edu>
Copyright: (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
Version: 1.04-50

Required diskspace
Contents

(c) S.u.S.E. - Last update: 23.03.99 02:49;