This repository has no description
Swift 75%
18%
Shell 7%

README.md

Calc #

Calc is a macOS calculator app with arbitrary-precision decimal math, scientific functions, keyboard input, native copy support, and calculation history.

Requirements #

  • macOS with Xcode installed
  • Xcode command line tools available

Scripts #

Command What it does
./build.sh Build a Release app into ./.build/Release/Calc.app
./debug.sh Build a Debug app into ./.build/Debug/Calc.app and open it
./debug.sh --build-only Build the Debug app without launching it
./debug.sh --exec Build the Debug app and run the binary directly in the terminal
./test.sh Run the test suite
./install.sh Build and install Calc.app, then refresh Spotlight registration

Scientific input #

Text input supports sin, cos, tan, asin, acos, atan, ln, log, log10, sqrt, abs, exp, pi, and e.

Basic arithmetic stays exact for large integers and decimal expressions; the display adds grouping separators and switches to scientific notation for very large values.