blob: d50df5c52b09040cd54ae2eea83bddf8239dbfa1 [file] [log] [blame]
/**
* @file sub.h
* @author Ernesto Casablanca (casablancaernesto@gmail.com)
* @copyright 2024
*/
#pragma once
namespace lib {
/**
* @brief Substract two integers
*
* Who knows what the result will be?
* @note This function is very complex. Use it with caution.
* @warning The result can be greater than the maximum value that can be stored!
* @param a First integer
* @param b Second integer
* @return Subtraction of a and b
*/
int sub(int a, int b);
} // namespace lib