add some rudimentary math functions
This commit is contained in:
12
c_os/lib/MyMath.h
Executable file
12
c_os/lib/MyMath.h
Executable file
@ -0,0 +1,12 @@
|
||||
#ifndef __MYMATH_INCLUDE_H_
|
||||
#define __MYMATH_INCLUDE_H_
|
||||
|
||||
// NOTE: I added this file
|
||||
|
||||
// TODO: namespace this
|
||||
int mymin(int, int);
|
||||
int mymax(int, int);
|
||||
int myabs(int);
|
||||
int mypow(int, unsigned int);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user