math.h: long absolute

This commit is contained in:
Matheus
2023-01-05 19:37:46 -03:00
parent e685f48381
commit adbf3d0353
+5
View File
@@ -1,6 +1,11 @@
#ifndef _MATH_H_INCLUDE
#define _MATH_H_INCLUDE
long intpow(long base, long exp);
static inline long labs(long n){
return n < 0 ? -n : n;
}
#endif