Renamed 'math-helpers.hpp' to 'sign.hpp' and updated main.cpp to reflect the change

This commit is contained in:
2024-02-15 09:46:53 -05:00
parent 3a7793bde8
commit acf8271126
2 changed files with 9 additions and 1 deletions

8
includes/sign.hpp Normal file
View File

@@ -0,0 +1,8 @@
#ifndef _MATH_HELP
#define _MATH_HELP
int signum(int num) {
int retval = 0;
(num > 0) ? retval = 1 : retval = -1;
return retval;
}
#endif