bc is an arbitrary-precision calculator language with a syntax similar to the C programming language. It supports interactive execution of statements, arbitrary precision numbers, and execution of scripts.
bc can be used interactively:
bc
scale=20
1/3
.33333333333333333333
quit
Or for script execution:
bc -l script.bc
This package installs the bc calculator with readline support enabled, providing enhanced line editing features including command history, tab completion, and cursor movement.