All apps/calc

calc

calc

C-style arbitrary precision calculator.

Runs as calc|macOS, Linux|github.com

Command form

ai-draft · 3 tasks · 7 fields

Evaluate calc expressions given on the command line, optionally dropping into interactive mode. Debug flags, modes and shell-script mode are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui calc
Evaluate expressionExample values, fixed in this page — nothing here reaches a terminal
Basic
Expression*
string
Advanced
No opening title
-d
Skip startup scripts
-q
TasksEach one presets the form for one job
Evaluate expression
expressionno_titleno_startup
Interactive session
interactiveno_startup
Show version
version
ParametersOnly these flags are editable in the form
Stay interactive
Drop into interactive mode after the expressions are evaluated.
boolean
-i
No opening title
boolean
-d
Skip startup scripts
boolean
-q
Pipe mode
No prompt, no header; suited for piping the result onward.
boolean
-p
Treat arguments as strings
Do not evaluate the arguments; expose them to argv().
boolean
-s
Print version
boolean
-v
Expression
calc expression to evaluate, for example 2^100.
string · positional 0 · repeatable
SourcesEvery flag above is checked against these
man
.RB [ \-c ] .RB [ \-d ] .RB [ \-e ] .RB [ \-i ] .RB [ \-p ] .RB [ \-q ] .RB [ \-s ] .RB [ \-u ] .RB [ \-v ] .B \-d Disable the printing of the opening title. .B \-e Ignore any environment variables on startup. .B \-i Become interactive if possible. .B \-p Pipe processing is enabled by use of .B \-q Disable the reading of the startup scripts. .B \-s By defaul…
manualHEAD 2026-10-27

raw.githubusercontent.com

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