All apps/bc

bc

bc

An arbitrary precision calculator language.

Runs as bc|macOS, Linux, Windows

Command form

ai-draft · 1 task · 6 fields

Evaluate bc scripts or start interactive mode.

Opens the form; the finished command lands at your prompt, unrun
otty gui bc
Run bcExample values, fixed in this page — nothing here reaches a terminal
Basic
Script files
file
Load standard math library
-l
Skip welcome banner
-q
TasksEach one presets the form for one job
Calculator with math library
filesmathlibquiet
ParametersOnly these flags are editable in the form
Script files
path · positional 0 · repeatable
Load standard math library
boolean
-l--mathlib
Skip welcome banner
boolean
-q--quiet
Force interactive mode
boolean
-i--interactive
Warn about POSIX extensions
boolean
-w--warn
Strict POSIX language
boolean
-s--standard
SourcesEvery flag above is checked against these
fig
completion

github.com

Before it fills your prompt, Otty checks the installed bc against its version. A form that does not match your version is not offered.