bc

An arbitrary precision calculator language. See also: dc. More information: https://keith.github.io/xcode-man-pages/bc.1.html.

bc

bc --mathlib

bc --expression='5 / 3'

bc path/to/script.bc

bc --expression='scale = 10; 5 / 3'

bc --mathlib --expression='s|c|a|l|e(1)'