Renamed 'math-helpers.hpp' to 'sign.hpp'
parent
cacc4f9d33
commit
98160f0071
@ -1,8 +0,0 @@
|
|||||||
#ifndef _MATH_HELP
|
|
||||||
#define _MATH_HELP
|
|
||||||
int signum(int num) {
|
|
||||||
int retval = 0;
|
|
||||||
(num > 0) ? retval = 1 : retval = -1;
|
|
||||||
return retval;
|
|
||||||
}
|
|
||||||
#endif
|
|
Loading…
Reference in New Issue