File mttroot/mtt/lib/cr/hh/sign.hh artifact 593009ad4f part of check-in b06fa3bb8b
#ifndef SIGN_HH #define SIGN_HH template <class T> inline int sign(T x) { return ((x > 0) ? +1 : (x < 0) ? -1 : 0); } #endif // SIGN_HH
#ifndef SIGN_HH #define SIGN_HH template <class T> inline int sign(T x) { return ((x > 0) ? +1 : (x < 0) ? -1 : 0); } #endif // SIGN_HH