Advanced Trigonometry Calculator (ATC) is a free, open-source command-line
mathematical application for Windows, developed by Renato Alexandre dos
Santos Freitas.
ATC evaluates text-based mathematical expressions and documented ATC commands
in a console environment. It focuses on practical numerical workflows and does
not claim broad symbolic-algebra capabilities.
ATC is intended for students, engineers, developers, and users who prefer a
plain-text calculator workflow. It supports direct expression evaluation,
variables, matrices, polynomial tools, equation solving commands, complex
numbers, and configurable numerical precision.
Version 2.1.7 focuses on precision-mode persistence, equation and polynomial
fixes, broader regression coverage, Windows console behavior, memory
improvements, command-line editing, and clearer verbose-resolution output.
ATC deliberately focuses on practical command-driven mathematical computation
instead of trying to be a universal CAS.
2pi, 2(3+4), and2sin(pi/2)sinc, fft, and ifftdouble and Boost mp_float precision modesQuick start:
2+2
sin(pi/2)
mode
solve equation(x^2-5*x+6)
solver(x+2)
create matrix(foo\2\2\3)
see variables
exit
More examples:
2+3*4
sin(pi/2)
log(100)
2pi
simplify polynomial((x-2)*(x-3))
solve equation(x^2-5*x+6)
roots to polynomial(2\3)
create matrix(foo\2\2\3)
solver(sin(x)-0.5)
Example output:
#0=14
#1=1
#2=2
Output formatting depends on ATC settings such as angle mode, precision mode,
and persisted user configuration.
ATC 2.1.7 supports persistent switching between:
doublemp_floatThe selected mode is stored under the user's ATC data folder:
%USERPROFILE%\Pictures\Advanced Trigonometry Calculator\higherPrecision.txt
Users can switch modes with:
higherprecision(1)
higherprecision(0)
The setting is applied after restarting ATC.
Validated high-precision commands include:
dp50dppi
dp50dpe
dp50dpmaxprecpi
ATC 2.1.7 includes an automated regression suite based on documented user-guide
behavior.
Current validated result for both Release x64 and Release x86:
Summary: 377 passed, 0 failed
The isolated coverage helper currently validates 68 source-level and safe
smoke checks, including command exposure, autocomplete behavior and selected
long-running time command guards.
Script throughput is also covered by a dedicated Multiplication Table 1-100
benchmark:
powershell -ExecutionPolicy Bypass -File .\tests\run-atc-script-benchmark.ps1 -AtcExe .\x64\Release\atc.exe
Run the regression suite after building ATC:
powershell -ExecutionPolicy Bypass -File .\tests\run-atc-regression.ps1 -AtcExe .\x64\Release\atc.exe
More testing details are available in docs/Testing.md.
ATC is a C++ Windows console application. The repository includes:
Advanced Trigonometry Calculator.sln
Build instructions may vary depending on the Visual Studio/MSBuild
environment, Windows SDK, compiler toolset, and target platform.
The project has been built and validated with Release x64 and Release x86
targets. The x86 target remains relevant for compatibility with older Windows
versions.
Typical workflows are:
Advanced Trigonometry Calculator.sln in Visual Studio and build theExample Release x64 build command:
& 'C:\Program Files\Microsoft Visual Studio\18\Insiders\MSBuild\Current\Bin\MSBuild.exe' '.\Advanced Trigonometry Calculator.sln' /p:Configuration=Release /p:Platform=x64 /m:1
Expected Release executables:
x64\Release\atc.exe
Release\atc.exe
Adjust the MSBuild path and platform values according to your installed
Visual Studio/C++ environment.
The latest Release x86 and Release x64 builds completed successfully with
0 Warning(s), 0 Error(s).
English is the reference language for open-source and community-facing
documents. Portuguese is maintained to support the Portuguese-speaking
community.
When a Markdown document changes in one language, the corresponding document in
the other language should be reviewed. PDF files should be regenerated after
relevant Markdown changes.
Advanced Trigonometry Calculator is licensed under the GNU General Public
License v3.0 (GPL-3.0).
See Advanced Trigonometry Calculator/License.txt.
Advanced Trigonometry Calculator is developed and maintained by:
Renato Alexandre dos Santos Freitas
The project is open source and has a long-term development history dating back
to 2011.
Contributions are welcome. Please read CONTRIBUTING.md
before submitting changes.
Useful contributions include bug reports, documentation improvements,
additional regression tests, and careful fixes for parser, solver, precision,
matrix, or memory behavior.