The first project of the common-core of the school 42, where the main goal is to develop tools to the rest of the cursus
## 🆕 New Math Functions - 🔢 Added `ft_max` → returns the maximum of two values. - 🔢 Added `ft_min` → returns the minimum of two values. - ✖️ Added `ft_power` → computes exponentiation. - ➖ Added `ft_abs` → returns absolute value. - √ Added `ft_sqrt` → computes integer square root. - 📄 Created `math.h` to declare and document all math functions. ## 🛠️ Build System Integration - 🧩 Updated the `Makefile` to include the new `math/` sources so they compile and link with the rest of the project. ## ⚡ Impact - Project now includes a **dedicated math utility module**. - Provides essential helper functions for broader use in future features. - Cleaner organization with centralized declarations in `math.h`. |
||
|---|---|---|
| .github/workflows | ||
| char | ||
| convert | ||
| includes | ||
| list | ||
| math | ||
| memory | ||
| str | ||
| test | ||
| .gitignore | ||
| flake.nix | ||
| Makefile | ||
| README.md | ||
This project is your very first project as a student at 42. You will need to recode a few functions of the C standard library as well as some other utility functions that you will use during your whole cursus.
| Keywords | Skills |
|---|---|
| Unix Logic | Algorithms & AI |
| Imperative programming | |
| Rigor |