Menu

Tree [6a7656] main /
 History

HTTPS access


File Date Author Commit
 .github 2026-06-30 renatofreitas91 renatofreitas91 [8949af] Keep SourceForge master aligned with main
 Advanced Trigonometry Calculator 2026-06-30 renatofreitas91 renatofreitas91 [6dfad5] Update ATC application information files
 dist 2026-07-01 renatofreitas91 renatofreitas91 [6a7656] Initial commit
 docs 2026-06-30 renatofreitas91 renatofreitas91 [819d8a] Finalize ATC 2.1.7 release readiness docs
 icons 2026-06-26 renatofreitas91 renatofreitas91 [8201e8] Initial ATC 2.1.7 workspace import
 tests 2026-06-30 renatofreitas91 renatofreitas91 [67abb9] Improve matrix parallelism partitioning and ben...
 tools 2026-06-28 renatofreitas91 renatofreitas91 [4bb2a4] Improve ATC 2.1.7 documentation guides
 .gitattributes 2026-06-28 renatofreitas91 renatofreitas91 [4bb2a4] Improve ATC 2.1.7 documentation guides
 .gitignore 2026-06-28 renatofreitas91 renatofreitas91 [4cfa8a] Expand ATC documentation and user guides
 Advanced Trigonometry Calculator.sln 2026-06-26 renatofreitas91 renatofreitas91 [8201e8] Initial ATC 2.1.7 workspace import
 CHANGELOG.md 2026-06-30 renatofreitas91 renatofreitas91 [819d8a] Finalize ATC 2.1.7 release readiness docs
 CODE_OF_CONDUCT.md 2026-06-27 renatofreitas91 renatofreitas91 [98a59b] Improve ATC documentation structure
 CONTRIBUTING.md 2026-06-28 renatofreitas91 renatofreitas91 [4cfa8a] Expand ATC documentation and user guides
 README.md 2026-06-30 renatofreitas91 renatofreitas91 [819d8a] Finalize ATC 2.1.7 release readiness docs
 SECURITY.md 2026-06-27 renatofreitas91 renatofreitas91 [98a59b] Improve ATC documentation structure

Read Me

Advanced Trigonometry Calculator (ATC)

License: GPL-3.0
Platform: Windows
Language: C++
Status: Open Source

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.

Project Overview

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.

What ATC is not

ATC deliberately focuses on practical command-driven mathematical computation
instead of trying to be a universal CAS.

  • ATC is not a full general-purpose CAS like Mathematica, Maple, SageMath, or
    SymPy.
  • ATC is not designed to symbolically prove arbitrary mathematical theorems.
  • ATC is not intended to replace domain-specific professional engineering
    validation tools.
  • ATC focuses on numeric computation, command-driven workflows, educational
    use, implemented symbolic/numeric hybrid features, and fast local execution.
  • Some symbolic behavior exists, but only where explicitly supported and
    tested.

Features

  • Arithmetic expressions
  • Trigonometry and inverse trigonometry
  • Hyperbolic and inverse hyperbolic functions
  • Logarithms and custom logarithm syntax
  • Complex numbers
  • Variables and reusable expressions
  • Automatic multiplication deduction, such as 2pi, 2(3+4), and
    2sin(pi/2)
  • Matrices and matrix helper commands
  • Statistics and probability functions
  • DSP functions such as sinc, fft, and ifft
  • Polynomial simplification
  • Equation solving and systems of equations
  • double and Boost mp_float precision modes
  • Command-line automation for selected report-exporting commands
  • Tab completion for documented commands, mathematical functions, and user
    functions while typing expressions
  • Up/Down history navigation in the interactive prompt

Example Commands

Quick 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.

High Precision Mode

ATC 2.1.7 supports persistent switching between:

  • double
  • Boost mp_float

The 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

Automated Testing

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.

Build Requirements

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.

Building from Source

Typical workflows are:

  • open Advanced Trigonometry Calculator.sln in Visual Studio and build the
    desired Release configuration;
  • or run MSBuild from a Visual Studio Developer PowerShell / Developer Command
    Prompt environment.

Example 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).

Documentation / Documentacao

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.

License

Advanced Trigonometry Calculator is licensed under the GNU General Public
License v3.0 (GPL-3.0)
.

See Advanced Trigonometry Calculator/License.txt.

Author

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.

Contributing

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.