Main Page | See live article | Alphabetical index

Bc (Unix)

bc is the basic calculator program for Unix and Unix-like operating systems.

Unlike dc, it is not stack based, and interprets mathematical statements in plaintext in a natural way.

Example session

% bc
3+2*4
11
3^4+12
93
(3^4+12)/11-22
-14

This article is a stub. You can help Wikipedia by fixing it.