Projects with this topic
-
The s21_decimal project involves implementing a custom C library for high-precision decimal arithmetic, targeting financial calculations where floating-point errors are unacceptable. The library provides a 128-bit decimal type using a structure of four 32-bit integers, supporting numbers from approximately ±7.9e28 with up to 28 decimal places. Key features include arithmetic operations (add, subtract, multiply, divide), comparisons, conversions to/from int/float, and rounding functions (floor, round, truncate, negate), all designed to minimize rounding errors through bank rounding and precise binary representation. The implementation adheres to structured programming principles, includes comprehensive unit tests, and is delivered as a static library.
Updated -
My solutions to the C Programming A Modern approach book 2nd edition (by K. N. King). These solutions are published for historical purposes and intended to be a guide for other learners to gain intuition rather than being used for cheating.
Updated -
Some utility functions to work more easily with Go pointers
Updated -
This project contains some codes that demonstrates the usage of pointers in C++.
Updated -
My own implementation of C's malloc and free functions.
Updated -
A command line interface for a library management system, to help manage students and books.
Check ReadMe for more details.
Updated -
Write a program to process source code files of C-like programming languages by: 1.removing all comments from a source code 2.checking that all brackets in the source code have a matching open/close bracket
Check ReadMe for more details and example
Updated -
Pointers.NET is a library intended to give the ability to work with unsafe code to languages that lack built in facilities to do so.
Updated