1
0
forked from fsfw/fsfw

Today's the day. Renamed platform to framework.

This commit is contained in:
Bastian Baetz
2016-06-15 23:48:41 +02:00
committed by Ulrich Mohr
parent 40987d0b27
commit 1d22a6c97e
356 changed files with 33946 additions and 3 deletions

8
globalfunctions/sign.h Normal file
View File

@ -0,0 +1,8 @@
#ifndef SIGN_H_
#define SIGN_H_
template <typename T> int sign(T val) {
return (T(0) < val) - (val < T(0));
}
#endif /* SIGN_H_ */