Skip to content

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NeoCal

A clean, from-scratch calculator built in C on Linux. Daily learning journey in C, Linux, and systems programming.

Neocal 🚀

A lightweight, terminal-based advanced scientific calculator written in C.

Features

  • Core Math: Addition, Subtraction, Multiplication, Division with division-by-zero protection.
  • Advanced Math: Powers, Square Roots, Absolute Values.
  • Trigonometry & Rounding: Supports Sine, Cosine, Tangent (Degrees/Radians/Gradians), and custom rounding methods.
  • History Memory: Dynamically allocates memory slots so you can view past operations safely.

How to Compile and Run

Make sure you have a C compiler (like gcc) installed.

# Clone the repository
git clone [https://github.com/ayobamidele4/neocal.git](https://github.com/ayobamidele4/neocal.git)
cd neocal

# Compile the code
gcc src/main.c -o build/neocal -lm

# Run the calculator
./build/neocal
## License and Terms

Copyright (c) 2026 Baasit (Ayobamidele4). All rights reserved.

This repository is publicly visible for educational and demonstration purposes only. Copying, modifying, distributing, or using this software in any project without explicit permission from the author is strictly prohibited.

About

NeoCal is a lightweight, dependency-free scientific calculator written from scratch in pure C for the Linux terminal. Built to bypass heavy modern abstraction layers, it combines lightning-fast algebraic parsing, advanced trigonometric functions, and dynamic memory-allocated history. NeoCal serves as a hands-on sandbox for exploring low-level

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages