bc

bc is a language that supports arbitrary precision numbers with interactive execution of statements. There are some similarities in the syntax to the C programming language. A standard math library is available by command line option. If requested, the math library is defined before processing any files. bc starts by processing code from all the files listed on the command line in the order listed. After all files have been processed, bc reads from the standard input. All code is executed as it is read. (If a file contains a command to halt the processor, bc will never read from the standard input.) This version of bc contains several extensions beyond traditional bc implementations and the POSIX draft standard. Command line options can cause these extensions to print a warning or to be rejected. This document describes the language accepted by this processor. Extensions will be identified as such.
Current version: 1.06.95

History

Effective Date Table ID Version Download URL Project URL Version URL
2020-12-22 10 1.06.95 download project version
2019-01-17 9 1.06.95 download project version
2017-07-13 8 1.06.95 download project version
2015-06-25 7 1.06.95 download project version
2014-03-07 6 1.06.95 download project version
2013-09-10 5 1.06.95 download project version
2012-10-31 4 1.06 download project version
2012-05-01 3 1.06 download project version
2005-11-08 2 bc-1.06 download project version